{"id":15673948,"url":"https://github.com/realflowcontrol/php-graphql-microservice","last_synced_at":"2025-05-06T22:52:39.953Z","repository":{"id":128920730,"uuid":"181473316","full_name":"realFlowControl/php-graphql-microservice","owner":"realFlowControl","description":"Simple example implementation of a GraphQL API on top of a microservice architecture","archived":false,"fork":false,"pushed_at":"2022-01-07T19:53:26.000Z","size":20,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T06:18:37.935Z","etag":null,"topics":["graphql","php","reachtphp"],"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/realFlowControl.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-15T11:31:36.000Z","updated_at":"2024-12-29T18:19:16.000Z","dependencies_parsed_at":"2023-04-10T02:32:13.848Z","dependency_job_id":null,"html_url":"https://github.com/realFlowControl/php-graphql-microservice","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/realFlowControl%2Fphp-graphql-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realFlowControl%2Fphp-graphql-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realFlowControl%2Fphp-graphql-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realFlowControl%2Fphp-graphql-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realFlowControl","download_url":"https://codeload.github.com/realFlowControl/php-graphql-microservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782470,"owners_count":21803382,"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":["graphql","php","reachtphp"],"created_at":"2024-10-03T15:43:09.514Z","updated_at":"2025-05-06T22:52:39.917Z","avatar_url":"https://github.com/realFlowControl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL API on top of Microservices\n\nThis is just a port from Node.js/Express to PHP/ReactPHP for Chris Norings article on building a [Serverless GraphQL API on top of a Microservice architecture](https://dev.to/azure/learn-how-you-can-build-a-serverless-graphql-api-on-top-of-a-microservice-architecture-233g).\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. \n\n### Prerequisites\n\nYou need to have `docker` and `docker-compose` up and running on your local machine.\n\n### Installing\n\n```bash\ngit clone https://github.com/flow-control/php-graphql-microservice.git\ncd php-graphql-microservice\nmake\ndocker-compose up -d\ncurl -X POST \\\n       -H \"Content-Type: application/json\" \\\n       --data '{ \"query\": \"{ product (id:1) { id name } }\" }' \\\n       localhost:8000\n```\n\n## Build with\n\n- [ReactPHP](https://reactphp.org/)\n- [graphql-php](https://github.com/webonyx/graphql-php)\n- [clue/buzz-react](https://github.com/clue/reactphp-buzz)\n\n## License\n\nMIT, see [LICENSE file](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealflowcontrol%2Fphp-graphql-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealflowcontrol%2Fphp-graphql-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealflowcontrol%2Fphp-graphql-microservice/lists"}