{"id":19476681,"url":"https://github.com/biurad/php-http-galaxy","last_synced_at":"2026-01-19T14:01:35.843Z","repository":{"id":48116210,"uuid":"228511926","full_name":"biurad/php-http-galaxy","owner":"biurad","description":"🪐  A library that provides functionality for http pipelines: psr-7, psr-13, psr-15, psr-17, Cors, CSP, session and cookies manipulations.","archived":false,"fork":false,"pushed_at":"2025-09-16T00:05:48.000Z","size":392,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-18T11:03:41.280Z","etag":null,"topics":["biurad","cookie","guzzle","guzzlehttp","http","http-factories","php","psr-13","psr-17","psr15","psr7","session"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/biurad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"biurad","custom":["https://biurad.com/sponsor"]}},"created_at":"2019-12-17T02:01:41.000Z","updated_at":"2022-01-08T04:00:15.000Z","dependencies_parsed_at":"2024-11-10T19:41:47.662Z","dependency_job_id":"ea3ddad4-e2b4-4227-a03f-6075b27b9227","html_url":"https://github.com/biurad/php-http-galaxy","commit_stats":{"total_commits":170,"total_committers":4,"mean_commits":42.5,"dds":0.05882352941176472,"last_synced_commit":"1d665546d2a4c1a59bd3688279b320d546771ab9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/biurad/php-http-galaxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-http-galaxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-http-galaxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-http-galaxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-http-galaxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biurad","download_url":"https://codeload.github.com/biurad/php-http-galaxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-http-galaxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28571556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"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":["biurad","cookie","guzzle","guzzlehttp","http","http-factories","php","psr-13","psr-17","psr15","psr7","session"],"created_at":"2024-11-10T19:41:28.739Z","updated_at":"2026-01-19T14:01:35.819Z","avatar_url":"https://github.com/biurad.png","language":"PHP","readme":"\u003cdiv align=\"center\"\u003e\n\n# The Poakium Http Galaxy\n\n[![Latest Version](https://img.shields.io/packagist/v/biurad/http-galaxy?include_prereleases\u0026label=Latest\u0026style=flat-square)](https://packagist.org/packages/biurad/http-galaxy)\n[![Workflow Status](https://img.shields.io/github/actions/workflow/status/biurad/poakium/ci.yml?branch=master\u0026label=Workflow\u0026style=flat-square)](https://github.com/biurad/poakium/actions?query=workflow)\n[![Software License](https://img.shields.io/badge/License-BSD--3-brightgreen.svg?\u0026label=Poakium\u0026style=flat-square)](LICENSE)\n[![Maintenance Status](https://img.shields.io/maintenance/yes/2023?label=Maintained\u0026style=flat-square)](https://github.com/biurad/poakium)\n\n\u003c/div\u003e\n\n---\n\nA [PHP][1] library that designed to provide [PSR-7][2], [PSR-15][3] and [PSR-17][4] seamless integration with [symfony/http-foundation][5] for your projects.\n\n## 📦 Installation\n\nThis project requires [PHP][1] 7.4 or higher. The recommended way to install, is via [Composer][6]. Simply run:\n\n```bash\n$ composer require biurad/http-galaxy\n```\n\n## 📍 Quick Start\n\nSince [symfony/http-foundation][5] library is a standard on it's own, libraries which relies on PHP-FIG standard makes it difficult to integrate with. With this library you can safely use PHP-FIG standards with good performance. build quickly using HTTP Galaxy.\n\nHere is an example of how to use the library:\n\n```php\nuse Biurad\\Http\\Factory\\Psr17Factory;\nuse Biurad\\Http\\Middlewares\\PrepareResponseMiddleware;\nuse Biurad\\Http\\Response;\nuse Laminas\\Stratigility\\Middleware\\CallableMiddlewareDecorator;\nuse Laminas\\Stratigility\\MiddlewarePipe;\nuse Psr\\Http\\Message\\{ResponseInterface, ServerRequestInterface};\nuse Psr\\Http\\Server\\RequestHandlerInterface;\n\n// Create a PSR-7 Request\n$request = Psr17Factory::fromGlobalRequest();\n\n// Create a PSR-15 Request Handler\n$dispatcher = new MiddlewarePipe();\n$dispatcher-\u003epipe(new PrepareResponseMiddleware());\n$dispatcher-\u003epipe(\n    new CallableMiddlewareDecorator(\n        function (ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface {\n            // Apply middleware logic here\n            return $handler-\u003ehandle($request);\n        }\n    )\n);\n\n// A request handler handling application's logic\n$handler = new \\App\\MyRequestHandler();\n\n// Process the request handler and middleware(s)\n$response = $dispatcher-\u003eprocess($request, $handler);\n\\assert($response instanceof Response);\n\n// Send the response to the client from symfony's response object\n$response-\u003egetResponse()-\u003esend();\n```\n\n## 📓 Documentation\n\nIn-depth documentation on how to use this library can be found at [docs.biurad.com][7]. It is also recommended to browse through unit tests in the [tests](./tests/) directory.\n\n## 🙌 Sponsors\n\nIf this library made it into your project, or you interested in supporting us, please consider [donating][8] to support future development.\n\n## 👥 Credits \u0026 Acknowledgements\n\n- [Divine Niiquaye Ibok][9] is the author this library.\n- [All Contributors][10] who contributed to this project.\n\n## 📄 License\n\nPoakium HTTP Galaxy is completely free and released under the [BSD 3 License](LICENSE).\n\n[1]: https://php.net\n[2]: http://www.php-fig.org/psr/psr-7/\n[3]: http://www.php-fig.org/psr/psr-15/\n[4]: http://www.php-fig.org/psr/psr-17/\n[5]: https://github.com/symfony/http-foundation\n[6]: https://getcomposer.org\n[7]: https://docs.biurad.com/poakium/http-galaxy\n[8]: https://biurad.com/sponsor\n[9]: https://github.com/divineniiquaye\n[10]: https://github.com/biurad/php-http-galaxy/contributors\n","funding_links":["https://patreon.com/biurad","https://biurad.com/sponsor"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiurad%2Fphp-http-galaxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiurad%2Fphp-http-galaxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiurad%2Fphp-http-galaxy/lists"}