-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
63 lines (63 loc) · 1.82 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "usarise/turnstile",
"description": "PHP library for Turnstile, is Cloudflare’s smart CAPTCHA alternative. It can be embedded into any website without sending traffic through Cloudflare and works without showing visitors a CAPTCHA.",
"license": "Unlicense",
"type": "library",
"keywords": [
"turnstile",
"cloudflare",
"cfturnstile",
"cloudflare turnstile",
"cf turnstile",
"captcha",
"spam",
"anti spam",
"anti bot",
"abuse"
],
"require": {
"php": "^8.1",
"ext-json": "*",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-factory-implementation": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.43.0",
"friendsofphp/php-cs-fixer": "^3.59.3",
"nyholm/psr7": "^1.8.1",
"phpstan/phpstan": "^1.11.7",
"phpunit/phpunit": "^10.5.27",
"rector/rector": "^1.2.0",
"symfony/http-client": "^6.4.9"
},
"autoload": {
"psr-4": {
"Turnstile\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"TurnstileTests\\": "tests"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"check": [
"@csfixer",
"@phpstan",
"@rector"
],
"cleanup": "rm -r var/cache",
"csfixer": "vendor/bin/php-cs-fixer check --verbose --diff",
"phpstan": "vendor/bin/phpstan analyse",
"rector": "vendor/bin/rector process --dry-run",
"test": "vendor/bin/phpunit tests"
}
}