* Add initial support for PHP7 * Update PHP env with now an PSR3 logger (Monolog). Now you can also create a handler function with PSR7 Http message and PSR3 logger in parameter. * Add examples for PHP7 environement * For development you can create a function in this path /app/userfuncdev.php it will be loaded * Switch to alpine base image * handler now receive an array with request, response and logger object
12 lines
195 B
JSON
12 lines
195 B
JSON
{
|
|
"autoload": {
|
|
"psr-4": {
|
|
"PHPEnv\\": "src/"
|
|
}
|
|
},
|
|
"require": {
|
|
"zendframework/zend-diactoros": "^1.3",
|
|
"monolog/monolog": "^1.22"
|
|
}
|
|
}
|