Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rapliandras/roadrunner-symfony
Roadrunner app server configuration for symfony
https://github.com/rapliandras/roadrunner-symfony
roadrunner roadrunner-symfony symfony
Last synced: 28 days ago
JSON representation
Roadrunner app server configuration for symfony
- Host: GitHub
- URL: https://github.com/rapliandras/roadrunner-symfony
- Owner: rapliandras
- License: mit
- Created: 2019-09-06T10:47:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:28:59.000Z (over 1 year ago)
- Last Synced: 2024-04-02T07:03:29.269Z (9 months ago)
- Topics: roadrunner, roadrunner-symfony, symfony
- Language: PHP
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# roadrunner-symfony
Roadrunner app server configuration for symfony**What does this package do?**
* has a working worker configuration that bridges PSR requests from Symfony to Roadrunner
* has all required dependencies installed
* enables debugging applications (web profiler works, phpstorm xdebug works, the symfony `dump()` function is overwritten to write objects to the roadrunner console)
* fixes internal server errors where trying to reach non-existing static files.**Installation:**
0. Make sure PHP CLI is installed and the roadrunner executable was compiled. For help, see RoadRunner docs at https://roadrunner.dev/docs/intro-install
1. Make sure the roadrunner executable is in your `PATH`. If you named the executable different than rr or rr.exe, or didn't rewrite `PATH` for some reason, rewrite `rrserve.sh` after requiring the package accordingly.
2. `composer require rapliandras/roadrunner-symfony`
3. Set the APP_DIR directive in your environment. (`echo "APP_DIR="$(pwd) >> .env`)**Use (Windows):**
From mingw32 (git bash): `./rrserve.sh` From command line or powershell terminal: `rrserve.exe`. Keep in mind that the Windows terminal will not care about the cool coloring of logged messages.**Use (Linux):**
From terminal: `./rrserve.sh`The application defaults to `localhost:8081`, you can change the port like this: `./rrserve.sh -o http.address=:80`
Special thanks to:
All the https://roadrunner.dev/ dev team and
https://github.com/dunglas who published the base of this code.