|
1 | 1 | {
|
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", |
4 | 4 | "type": "library",
|
5 | 5 | "keywords": ["recaptcha", "captcha", "spam", "abuse"],
|
6 | 6 | "homepage": "https://www.google.com/recaptcha/",
|
7 | 7 | "license": "BSD-3-Clause",
|
8 | 8 | "support": {
|
9 | 9 | "forum": "https://groups.google.com/forum/#!forum/recaptcha",
|
10 |
| - "source": "https://github.com/google/recaptcha" |
| 10 | + "source": "https://github.com/phpfui/recaptcha" |
11 | 11 | },
|
12 | 12 | "require": {
|
13 |
| - "php": ">=8" |
| 13 | + "php": ">=8.0" |
14 | 14 | },
|
15 | 15 | "require-dev": {
|
16 |
| - "phpunit/phpunit": "^10", |
| 16 | + "phpunit/phpunit": "^11", |
17 | 17 | "friendsofphp/php-cs-fixer": "^3.14",
|
18 | 18 | "php-coveralls/php-coveralls": "^2.5"
|
19 | 19 | },
|
20 | 20 | "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"} |
29 | 22 | },
|
| 23 | + "autoload-dev": { |
| 24 | + "psr-4": {"ReCaptcha\\": "tests/ReCaptcha/"} |
| 25 | + }, |
30 | 26 | "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 | + ], |
34 | 39 | "serve-examples": "@php -S localhost:8080 -t examples"
|
35 | 40 | },
|
36 | 41 | "config": {
|
|
0 commit comments