Skip to content

Commit 6ab274a

Browse files
committed
Carpe Diem
0 parents  commit 6ab274a

16 files changed

+14283
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
vendor
2+
composer.lock
3+
/.phpunit.cache
4+
.phpunit.result.cache
5+
.DS_Store

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Doma(in)Validity PHP package.
2+
3+
Light PHP package to validate domains.

composer.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "domainvalidity/php-domain-validator",
3+
"description": "Light PHP package to validate domains.",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Adro Rocker",
9+
"email": "me@adro.rocks"
10+
}
11+
],
12+
"require": {
13+
"php": "^8.1.0"
14+
},
15+
"require-dev": {
16+
"pestphp/pest": "^2.9",
17+
"phpstan/phpstan": "^1.10",
18+
"phpunit/phpunit": "^10.2",
19+
"squizlabs/php_codesniffer": "^3.7"
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"DomainValidity\\": "src/"
24+
}
25+
},
26+
"autoload-dev": {
27+
"psr-4": {
28+
"DomainValidity\\Tests\\": "tests/"
29+
}
30+
},
31+
"scripts": {
32+
"check": [
33+
"@cscheck",
34+
"@phpstan",
35+
"@test"
36+
],
37+
"cscheck": "./vendor/bin/phpcs",
38+
"csfix": "./vendor/bin/phpcbf",
39+
"test": "./vendor/bin/pest",
40+
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html ./testbuild/logs/html && chmod a+x ./coverage && ./coverage",
41+
"phpstan": "./vendor/bin/phpstan analyse"
42+
},
43+
"config": {
44+
"preferred-install": "dist",
45+
"sort-packages": true,
46+
"allow-plugins": {
47+
"pestphp/pest-plugin": true
48+
}
49+
},
50+
"minimum-stability": "stable"
51+
}

0 commit comments

Comments
 (0)