no-framework-tutorial/implementation/05-http/composer.json

30 lines
763 B
JSON

{
"name": "lubian/no-framework",
"require": {
"php": "^8.1",
"filp/whoops": "^2.14",
"laminas/laminas-diactoros": "^2.8"
},
"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"
}
}