File tree Expand file tree Collapse file tree 5 files changed +90
-229
lines changed Expand file tree Collapse file tree 5 files changed +90
-229
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ $ composer create-project zegnat/website-starter
2727 a container.
28282 . Using [ Diactoros] [ ] to only have to work with
2929 [ PSR-7 Requests and Responses] [ PSR-7 ] .
30- 3 . Using [ Middleman ] [ ] to run through all configured
30+ 3 . Using [ Middleland ] [ ] to run through all configured
3131 [ PSR-15 Middlewares] [ PSR-15 ] .
32324 . Using [ FastRoute] [ ] to parse requested URIs and find the matching
3333 [ PSR-15 RequestHandlers] [ PSR-15 ] .
@@ -37,11 +37,11 @@ $ composer create-project zegnat/website-starter
3737[ Auryn ] : https://github.com/rdlowrey/auryn
3838[ Diactoros ] : https://zendframework.github.io/zend-diactoros/
3939[ FastRoute ] : https://github.com/nikic/FastRoute
40- [ Middleman ] : https://github.com/mindplay-dk/middleman
40+ [ Middleland ] : https://github.com/oscarotero/middleland
4141[ PHP_CodeSniffer ] : https://github.com/squizlabs/PHP_CodeSniffer
4242[ PSR-2 ] : http://www.php-fig.org/psr/psr-2/
4343[ PSR-7 ] : http://www.php-fig.org/psr/psr-7/
44- [ PSR-15 ] : https://github.com/ php-fig/fig-standards/blob/master/proposed/http-handlers/request-handlers.md
44+ [ PSR-15 ] : https://www. php-fig.org/psr/psr-15/
4545
4646## License
4747
Original file line number Diff line number Diff line change 44
55namespace app \RequestHandler ;
66
7- use Interop \Http \Server \RequestHandlerInterface ;
7+ use Psr \Http \Server \RequestHandlerInterface ;
88use Psr \Http \Message \ResponseInterface ;
99use Psr \Http \Message \ServerRequestInterface ;
1010
Original file line number Diff line number Diff line change 22 "name" : " zegnat/website-starter" ,
33 "description" : " My minimum viable setup for starting a PHP project." ,
44 "type" : " project" ,
5- "version" : " 3 .0.0" ,
5+ "version" : " 4 .0.0" ,
66 "license" : " 0BSD" ,
77 "authors" : [
88 {
1414 "psr-4" : {"app\\ " : " app/" }
1515 },
1616 "require" : {
17- "zendframework/zend-diactoros " : " ^1.7 " ,
18- "mindplay/middleman " : " ^3 .0" ,
17+ "middlewares/fast-route " : " ^1.0 " ,
18+ "oscarotero/middleland " : " ^1 .0" ,
1919 "rdlowrey/auryn" : " ^1.4" ,
20- "middlewares/fast-route " : " ^0.9.0 "
20+ "zendframework/zend-diactoros " : " ^1.7 "
2121 },
2222 "require-dev" : {
2323 "squizlabs/php_codesniffer" : " ^3.2"
2424 },
2525 "scripts" : {
2626 "check-style" : " phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 app config public"
27+ },
28+ "config" : {
29+ "sort-packages" : true
2730 }
2831}
You can’t perform that action at this time.
0 commit comments