{"id":37007681,"url":"https://github.com/vdhicts/http-query-builder","last_synced_at":"2026-01-14T00:49:12.906Z","repository":{"id":48201717,"uuid":"392917947","full_name":"vdhicts/http-query-builder","owner":"vdhicts","description":"Replacement of http_build_query to allow the same parameter multiple times","archived":false,"fork":false,"pushed_at":"2025-07-23T14:05:53.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T22:10:18.229Z","etag":null,"topics":["http","php"],"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/vdhicts.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2021-08-05T05:45:06.000Z","updated_at":"2025-07-23T14:05:39.000Z","dependencies_parsed_at":"2025-07-23T16:06:54.600Z","dependency_job_id":"62517a5a-f30f-46c4-9455-cae258efcf2c","html_url":"https://github.com/vdhicts/http-query-builder","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vdhicts/http-query-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fhttp-query-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fhttp-query-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fhttp-query-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fhttp-query-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdhicts","download_url":"https://codeload.github.com/vdhicts/http-query-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fhttp-query-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"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":["http","php"],"created_at":"2026-01-14T00:49:12.241Z","updated_at":"2026-01-14T00:49:12.883Z","avatar_url":"https://github.com/vdhicts.png","language":"PHP","readme":"# http-query-builder\n\nReplacement of `http_build_query` to allow the same parameter multiple times.\n\n## Requirements\n\nThis package requires PHP 8.3 or higher.\n\n## Installation\n\nYou can install the package via composer:\n\n`composer require vdhicts/http-query-builder`\n\n## Usage\n\nThe problem with the build-in `http_build_query` method is that it doesn't accept the same parameter multiple times as \nit overwrites the key in the array. When you need to consume an API that uses those parameters (for example [FastAPI](https://fastapi.tiangolo.com/) \nsupports it), this package comes in handy.\n\n### Getting started\n\n```php\nuse Vdhicts\\HttpQueryBuilder\\Builder;\n\n$builder = Builder::make()\n    -\u003eadd('filter', 'a:1')\n    -\u003eadd('filter', 'b:2');\necho $builder; // filter=a%3A1\u0026filter=b%3A2\n```\n\n## Contributing\n\nFound a bug or want to add a new feature? Great! There are also many other ways to make meaningful contributions such\nas reviewing outstanding pull requests and writing documentation. Even opening an issue for a bug you found is\nappreciated.\n\nWhen you create a pull request, make sure it is tested, following the code standard (run `composer code-style:fix` to\ntake care of that for you) and please create one pull request per feature. In exchange, you will be credited as\ncontributor.\n\n### Testing\n\nTo run the tests, you can use the following command:\n\n```bash\ncomposer test\n```\n\n### Security\n\nIf you discover any security related issues in this or other packages of Vdhicts!, please email security@vdhicts.nl\ninstead of using the issue tracker.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdhicts%2Fhttp-query-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdhicts%2Fhttp-query-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdhicts%2Fhttp-query-builder/lists"}