File tree Expand file tree Collapse file tree 5 files changed +20
-16
lines changed Expand file tree Collapse file tree 5 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 11.php_cs.cache
2+ .phpunit.result.cache
23composer.lock
34coverage.xml
45phpbench.json
Original file line number Diff line number Diff line change 55 - php : 7.1
66 - php : 7.2
77 - php : 7.3
8+ - php : 7.4
9+ - php : nightly
810 fast_finish : true
911
1012before_install :
Original file line number Diff line number Diff line change 1- # HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations and OpenApi (Swagger)
1+ # HTTP router for PHP 7.1+ (incl. PHP 8) based on PSR-7 and PSR-15 with support for annotations and OpenApi (Swagger)
22
33[ ![ Build Status] ( https://scrutinizer-ci.com/g/sunrise-php/http-router/badges/build.png?b=master )] ( https://scrutinizer-ci.com/g/sunrise-php/http-router/build-status/master )
44[ ![ Code Coverage] ( https://scrutinizer-ci.com/g/sunrise-php/http-router/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/sunrise-php/http-router/?branch=master )
1212## Installation
1313
1414``` bash
15- composer require ' sunrise/http-router:^2.4 '
15+ composer require ' sunrise/http-router:^2.5 '
1616```
1717
1818## QuickStart
Original file line number Diff line number Diff line change 11{
22 "name" : " sunrise/http-router" ,
33 "homepage" : " https://github.com/sunrise-php/http-router" ,
4- "description" : " Sunrise // HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations and OpenApi Specification" ,
4+ "description" : " Sunrise // HTTP router for PHP 7.1+ (incl. PHP 8) based on PSR-7 and PSR-15 with support for annotations and OpenApi Specification" ,
55 "license" : " MIT" ,
66 "keywords" : [
77 " fenric" ,
88 " sunrise" ,
99 " http" ,
1010 " router" ,
1111 " annotations" ,
12+ " middlewares" ,
1213 " openapi" ,
1314 " psr-7" ,
14- " psr-15"
15+ " psr-15" ,
16+ " php7" ,
17+ " php8"
1518 ],
1619 "authors" : [
1720 {
2124 }
2225 ],
2326 "require" : {
24- "php" : " ^7.1" ,
27+ "php" : " ^7.1|^8.0 " ,
2528 "psr/container" : " ^1.0" ,
2629 "psr/http-message" : " ^1.0" ,
27- "fig/http-message-util" : " ^1.1" ,
2830 "psr/http-server-handler" : " ^1.0" ,
2931 "psr/http-server-middleware" : " ^1.0" ,
3032 "psr/simple-cache" : " ^1.0" ,
33+ "fig/http-message-util" : " ^1.1" ,
3134 "doctrine/annotations" : " ^1.6"
3235 },
3336 "require-dev" : {
34- "phpbench/phpbench" : " 0.16.10" ,
35- "phpunit/phpunit" : " 7.5.20" ,
37+ "phpunit/phpunit" : " 7.5.20|9.5.0" ,
3638 "sunrise/coding-standard" : " 1.0.0" ,
37- "sunrise/http-message" : " 1.3.0" ,
38- "sunrise/http-server-request" : " 1.0.12"
39+ "sunrise/http-factory" : " 1.1.0"
3940 },
4041 "autoload" : {
4142 "files" : [
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <phpunit bootstrap =" tests/bootstrap.php" colors =" true" >
2+ <phpunit bootstrap =" tests/bootstrap.php" colors =" true" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3+ <coverage >
4+ <include >
5+ <directory >./src</directory >
6+ </include >
7+ </coverage >
38 <testsuites >
49 <testsuite name =" Sunrise HTTP Router Test Suite" >
510 <directory >./tests/</directory >
611 </testsuite >
712 </testsuites >
8- <filter >
9- <whitelist >
10- <directory >./src</directory >
11- </whitelist >
12- </filter >
1313</phpunit >
You can’t perform that action at this time.
0 commit comments