no-framework-tutorial/implementation/03-error-handler/composer.json

22 lines
480 B
JSON

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