no-framework-tutorial/implementation/07-dispatching-to-class/composer.json

32 lines
842 B
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"
},
"autoload": {
"psr-4": {
"Lubian\\NoFramework\\": "src/"
}
},
"authors": [
{
"name": "lubian",
"email": "test@example.com"
}
],
"scripts": {
"serve": "php -S localhost:1234 -t ./public",
"prodserve": "ENVIRONMENT=prod php -S localhost:1234 -t ./public",
"phpstan": "./vendor/bin/phpstan analyze",
"style": "./vendor/bin/php-cs-fixer fix"
},
"require-dev": {
"phpstan/phpstan": "^1.4",
"php-cs-fixer/shim": "^3.7",
"symfony/var-dumper": "^6.0"
}
}