Skip to content

Commit 3519d0f

Browse files
committed
Merge branch 'release/4.0.0'
2 parents cb057dc + b1f5d57 commit 3519d0f

File tree

5 files changed

+90
-229
lines changed

5 files changed

+90
-229
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ composer create-project zegnat/website-starter
2727
a container.
2828
2. 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].
3232
4. 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

app/RequestHandler/Home.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace app\RequestHandler;
66

7-
use Interop\Http\Server\RequestHandlerInterface;
7+
use Psr\Http\Server\RequestHandlerInterface;
88
use Psr\Http\Message\ResponseInterface;
99
use Psr\Http\Message\ServerRequestInterface;
1010

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
{
@@ -14,15 +14,18 @@
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
}

0 commit comments

Comments
 (0)