Skip to content

Commit ac378ba

Browse files
committed
Update composer
1 parent 04ce734 commit ac378ba

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

composer.json

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
11
{
2-
"name": "google/recaptcha",
3-
"description": "Client library for reCAPTCHA, a free service that protects websites from spam and abuse.",
2+
"name": "phpfui/recaptcha",
3+
"description": "Client library for Google's reCAPTCHA for PHP 8.4 and higher",
44
"type": "library",
55
"keywords": ["recaptcha", "captcha", "spam", "abuse"],
66
"homepage": "https://www.google.com/recaptcha/",
77
"license": "BSD-3-Clause",
88
"support": {
99
"forum": "https://groups.google.com/forum/#!forum/recaptcha",
10-
"source": "https://github.com/google/recaptcha"
10+
"source": "https://github.com/phpfui/recaptcha"
1111
},
1212
"require": {
13-
"php": ">=8"
13+
"php": ">=8.0"
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "^10",
16+
"phpunit/phpunit": "^11",
1717
"friendsofphp/php-cs-fixer": "^3.14",
1818
"php-coveralls/php-coveralls": "^2.5"
1919
},
2020
"autoload": {
21-
"psr-4": {
22-
"ReCaptcha\\": "src/ReCaptcha"
23-
}
24-
},
25-
"extra": {
26-
"branch-alias": {
27-
"dev-master": "1.3.x-dev"
28-
}
21+
"psr-4": {"ReCaptcha\\": "src/ReCaptcha"}
2922
},
23+
"autoload-dev": {
24+
"psr-4": {"ReCaptcha\\": "tests/ReCaptcha/"}
25+
},
3026
"scripts": {
31-
"lint": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer -vvv fix --using-cache=no --dry-run .",
32-
"lint-fix": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer -vvv fix --using-cache=no .",
33-
"test": "XDEBUG_MODE=coverage vendor/bin/phpunit",
27+
"lint": [
28+
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
29+
"vendor/bin/php-cs-fixer -vvv fix --using-cache=no --dry-run ."
30+
],
31+
"lint-fix": [
32+
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
33+
"vendor/bin/php-cs-fixer -vvv fix --using-cache=no ."
34+
],
35+
"test": [
36+
"@putenv XDEBUG_MODE=coverage",
37+
"vendor/bin/phpunit --display-phpunit-deprecations"
38+
],
3439
"serve-examples": "@php -S localhost:8080 -t examples"
3540
},
3641
"config": {

0 commit comments

Comments
 (0)