Skip to content

Commit 14e4e54

Browse files
committed
Updated library versions & updated README to reflect minimum versions
1 parent dc8372f commit 14e4e54

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ReactPHP Symfony Server
22

3-
This library wraps a ReactPHP server over a Symfony project installation.
3+
This library wraps a ReactPHP server over a Symfony 4 project installation.
44

55
## Installation (using composer)
66

@@ -28,6 +28,10 @@ The library takes the `public/index.php` file from the project root, and reads i
2828

2929
Once executed, requests are made directly to the server and translated to Symfony requests, which are dealt then by the Symfony Kernel. The Kernel provides afterwards a response, which is translated back to a response the ReactPHP server can understand.
3030

31+
**Q. Which versions of PHP and Symfony are supported?**
32+
33+
PHP >= 7.1 and Symfony 4.*.
34+
3135
**Q. Does it serve static assets too?**
3236

3337
Yes, the library has basic support for serving static assets, like images, CSS ans JS under the `public` folder of your project.

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
],
1212
"minimum-stability": "stable",
1313
"require": {
14-
"php": ">=7.0",
14+
"php": ">=7.1",
1515
"react/http": "^0.8.0",
16-
"symfony/http-foundation": "*",
17-
"symfony/console": "*",
18-
"symfony/http-kernel": "*",
16+
"symfony/http-foundation": "^4.0",
17+
"symfony/console": "^4.0",
18+
"symfony/http-kernel": "^4.0",
1919
"ralouphie/mimey": "^2.1"
2020
},
2121
"require-dev": {
22-
"friendsofphp/php-cs-fixer": "^2.13"
22+
"friendsofphp/php-cs-fixer": "^2.0"
2323
},
2424
"autoload": {
2525
"psr-4": {

0 commit comments

Comments
 (0)