51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
|
{
|
||
|
"name": "lubian/no-framework",
|
||
|
"require": {
|
||
|
"php": "^8.1",
|
||
|
"filp/whoops": "^2.14",
|
||
|
"laminas/laminas-diactoros": "^2.8",
|
||
|
"nikic/fast-route": "^1.3",
|
||
|
"psr/http-server-handler": "^1.0",
|
||
|
"php-di/php-di": "^6.3",
|
||
|
"mustache/mustache": "^2.14",
|
||
|
"psr/http-server-middleware": "^1.0",
|
||
|
"middlewares/trailing-slash": "^2.0",
|
||
|
"middlewares/whoops": "^2.0"
|
||
|
},
|
||
|
"autoload": {
|
||
|
"psr-4": {
|
||
|
"Lubian\\NoFramework\\": "src/"
|
||
|
}
|
||
|
},
|
||
|
"authors": [
|
||
|
{
|
||
|
"name": "lubian",
|
||
|
"email": "test@example.com"
|
||
|
}
|
||
|
],
|
||
|
"require-dev": {
|
||
|
"phpstan/phpstan": "^1.5",
|
||
|
"php-cs-fixer/shim": "^3.8",
|
||
|
"symfony/var-dumper": "^6.0",
|
||
|
"squizlabs/php_codesniffer": "^3.6",
|
||
|
"phpstan/extension-installer": "^1.1",
|
||
|
"phpstan/phpstan-strict-rules": "^1.1",
|
||
|
"thecodingmachine/phpstan-strict-rules": "^1.0",
|
||
|
"mnapoli/hard-mode": "^0.3.0",
|
||
|
"psalm/phar": "^4.22"
|
||
|
},
|
||
|
"config": {
|
||
|
"allow-plugins": {
|
||
|
"phpstan/extension-installer": true,
|
||
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"serve": "php -S 0.0.0.0:1234 -t public",
|
||
|
"phpstan": "./vendor/bin/phpstan analyze",
|
||
|
"baseline": "./vendor/bin/phpstan analyze --generate-baseline",
|
||
|
"check": "./vendor/bin/phpcs",
|
||
|
"fix": "./vendor/bin/php-cs-fixer fix && ./vendor/bin/phpcbf"
|
||
|
}
|
||
|
}
|