{"id":19696073,"url":"https://github.com/k911/swoole-bundle-symfony-demo","last_synced_at":"2025-04-29T11:31:52.695Z","repository":{"id":88072735,"uuid":"183948942","full_name":"k911/swoole-bundle-symfony-demo","owner":"k911","description":"Minimal hello world Symfony application built with Swoole and Docker","archived":false,"fork":false,"pushed_at":"2024-11-06T18:38:15.000Z","size":256,"stargazers_count":11,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T15:04:10.805Z","etag":null,"topics":["async","demo","docker","php","swoole","symfony-bundle"],"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/k911.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-28T19:17:22.000Z","updated_at":"2024-05-14T16:40:14.000Z","dependencies_parsed_at":"2023-05-18T04:00:23.175Z","dependency_job_id":null,"html_url":"https://github.com/k911/swoole-bundle-symfony-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k911%2Fswoole-bundle-symfony-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k911%2Fswoole-bundle-symfony-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k911%2Fswoole-bundle-symfony-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k911%2Fswoole-bundle-symfony-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k911","download_url":"https://codeload.github.com/k911/swoole-bundle-symfony-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251493953,"owners_count":21598204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["async","demo","docker","php","swoole","symfony-bundle"],"created_at":"2024-11-11T19:33:24.888Z","updated_at":"2025-04-29T11:31:52.689Z","avatar_url":"https://github.com/k911.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swoole Bundle - Symfony Demo\n\nMinimal hello world [Symfony](https://symfony.com/) application with [`k911/swoole-bundle`](https://github.com/k911/swoole-bundle) and [Docker](https://docs.docker.com/get-started/).\n\n## Quick start - docker\n\n*Requirements:*\n\n- [composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos)\n- [Docker](https://docs.docker.com/install/)\n- [docker-compose](https://docs.docker.com/compose/install/)\n\n```bash\ndocker-compose build\ndocker-compose up\n```\n\n## Quick start - local\n\n*Requirements:*\n\n- PHP v7.4 and up\n- [composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos)\n- [Swoole PHP Extension v4.4.7 and up](https://github.com/swoole/swoole-src)\n\n```bash\ncomposer install\n./bin/console swoole:server:run\n```\n\n## Links / usage\n\n- [Lucky number generator](http://localhost:9501)\n\n    ```sh\n    curl http://localhost:9501\n    ```\n\n- [Lucky number generator with output to CLI (implemented using Symfony Messenger)](http://localhost:9501/messenger)\n\n    ```sh\n    curl http://localhost:9501/messenger\n    ```\n- [Server API Access](localhost:9200/api/server)\n\n    ```sh\n    # Gets server info\n    curl http://localhost:9200/api/server\n    \n    # Reload server\n    curl -X PATCH http://localhost:9200/api/server\n    \n    # Shutdown server\n    curl -X DELETE http://localhost:9200/api/server\n    ```\n    \n- Get server status and metrics\n\n    ```sh\n    bin/console swoole:server:status\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk911%2Fswoole-bundle-symfony-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk911%2Fswoole-bundle-symfony-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk911%2Fswoole-bundle-symfony-demo/lists"}