-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
40 lines (40 loc) · 1.63 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
{
"name": "postuf/socks-proxy-async",
"type": "library",
"description": "Lightweight asynchronous socks proxy for PHP",
"homepage": "https://github.com/Postuf/SocksProxyAsync",
"license": "MIT",
"autoload": {
"psr-4": {
"SocksProxyAsync\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpstan/phpstan": "^0.12.86",
"psalm/phar": "^4.7",
"squizlabs/php_codesniffer": "^3.6",
"doctrine/coding-standard": "^9.0"
},
"require": {
"php": "^7.4",
"ext-sockets": "*"
},
"scripts": {
"test": "vendor/bin/phpunit --configuration tests/phpunit.config.xml",
"unit": "vendor/bin/phpunit --configuration tests/phpunit.config.xml --testsuite unit",
"integration": "vendor/bin/phpunit --configuration tests/phpunit.config.xml --testsuite integration",
"coverage": "vendor/bin/phpunit --configuration tests/phpunit.config.xml --coverage-text",
"cs": "vendor/bin/phpcs",
"csfix": "vendor/bin/phpcbf",
"psalm": "vendor/bin/psalm.phar",
"stan": "vendor/bin/phpstan analyze src -l 6 --memory-limit=512m",
"get-security": "rm -f local-php-security-checker && curl -s https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest | grep -E \"browser_download_url(.+)linux_amd64\" | cut -d : -f 2,3 | tr -d \\\" | xargs -I % curl % -L -o local-php-security-checker && chmod +x local-php-security-checker",
"security": "./local-php-security-checker"
}
}