{"id":34004019,"url":"https://github.com/jdomenechb/reactphp-symfony-server","last_synced_at":"2026-04-05T17:41:19.100Z","repository":{"id":56997620,"uuid":"146959363","full_name":"jdomenechb/reactphp-symfony-server","owner":"jdomenechb","description":"ReactPHP server over Symfony framework","archived":false,"fork":false,"pushed_at":"2020-08-01T10:25:49.000Z","size":39,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-02T12:40:48.325Z","etag":null,"topics":["reactphp","server","symfony","symfony4"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdomenechb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-01T02:06:05.000Z","updated_at":"2020-08-01T10:24:53.000Z","dependencies_parsed_at":"2022-08-21T11:10:19.546Z","dependency_job_id":null,"html_url":"https://github.com/jdomenechb/reactphp-symfony-server","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jdomenechb/reactphp-symfony-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdomenechb%2Freactphp-symfony-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdomenechb%2Freactphp-symfony-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdomenechb%2Freactphp-symfony-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdomenechb%2Freactphp-symfony-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdomenechb","download_url":"https://codeload.github.com/jdomenechb/reactphp-symfony-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdomenechb%2Freactphp-symfony-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31444702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reactphp","server","symfony","symfony4"],"created_at":"2025-12-13T10:03:12.263Z","updated_at":"2026-04-05T17:41:19.095Z","avatar_url":"https://github.com/jdomenechb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactPHP Symfony Server\n\nThis library wraps a ReactPHP server over a Symfony 4 project installation.\n\n## Installation (using composer)\n\n```bash\ncomposer require jdomenechb/reactphp-symfony-server\n```\n\nAfter running this command, be sure to define an `APP_PORT` environment variable prior to running the server. If the Symfony project uses DotEnv in an specific environment, it will take the value from the `.env` file.\n\n## Usage\n\nFrom the root of your project, run:\n\n```bash\nvendor/php/reactphp-server\n```\n\nThe server will inform of the port it is running.\n\n## FAQ\n\n**Q. How does it work?**\n\nThe library takes the `public/index.php` file from the project root, and reads it until the point the Symfony kernel is created. Then, from this point, it takes control in order to provide the ReactPHP server.\n\nOnce 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.\n\n**Q. Which versions of PHP and Symfony are supported?**\n\nPHP \u003e= 7.1 and Symfony 4.*.\n\n**Q. Does it serve static assets too?**\n\nYes, the library has basic support for serving static assets, like images, CSS ans JS under the `public` folder of your project.\n\nHowever, you might consider using another web server (like Nginx or Apache) to serve them, as they are more dedicated to this matter. This library focus mainly on serving PHP requests.\n\n**Q. Can I use another web server after I install this library?**\n\nYes, the library is prepared to not modify at all your project, so you can run another server if needed in top of your code.\n\n**Q. Will it work with all kind of Symfony installations?**\n\nUnfortunately, there is no way to assure that. The library has been tested with a `public/index.php` file from a Symfony 4 skeleton, and the more a `public/index.php` has been modified, the most likely is the library to fail.\n\nFor this reason, I strongly encourage you to contribute to the project in whatever mean you can.\n\n**Q. Can I develop or modify code while using the server?**\n\nIf you do so, you might encounter that your changes are not being displayed after refreshing the page. This is due to the fact that, once a class has been loaded in memory during server execution, it will remain unchanged in the app memory.\n\nIn order to see your changes, you should restart the server.\n\n\n## Contributing\n\nFeel free to contribute to the project by submitting pull requests, or by opening issues you might find. I am eager to receive your feedback and improve the quality and features of the library.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdomenechb%2Freactphp-symfony-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdomenechb%2Freactphp-symfony-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdomenechb%2Freactphp-symfony-server/lists"}