{"id":13518947,"url":"https://github.com/php-http/mock-client","last_synced_at":"2025-04-08T10:26:55.580Z","repository":{"id":46138064,"uuid":"37464267","full_name":"php-http/mock-client","owner":"php-http","description":"Mock HTTP client","archived":false,"fork":false,"pushed_at":"2024-10-31T10:30:45.000Z","size":91,"stargazers_count":69,"open_issues_count":1,"forks_count":17,"subscribers_count":7,"default_branch":"1.x","last_synced_at":"2025-04-01T09:21:17.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://httplug.io","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/php-http.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","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":"2015-06-15T12:39:45.000Z","updated_at":"2025-02-26T15:21:35.000Z","dependencies_parsed_at":"2024-11-15T00:01:36.861Z","dependency_job_id":"c8e8752a-0c14-450f-8c11-77e984911732","html_url":"https://github.com/php-http/mock-client","commit_stats":{"total_commits":46,"total_committers":17,"mean_commits":"2.7058823529411766","dds":0.782608695652174,"last_synced_commit":"a797c2a9122cccafcce14773b8a24d2808a9ab44"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fmock-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fmock-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fmock-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-http%2Fmock-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-http","download_url":"https://codeload.github.com/php-http/mock-client/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247822512,"owners_count":21001884,"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":[],"created_at":"2024-08-01T05:01:51.172Z","updated_at":"2025-04-08T10:26:55.561Z","avatar_url":"https://github.com/php-http.png","language":"PHP","readme":"# Mock Client\n\n[![Latest Version](https://img.shields.io/github/release/php-http/mock-client.svg?style=flat-square)](https://github.com/php-http/mock-client/releases)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Build Status](https://github.com/php-http/mock-client/actions/workflows/tests.yml/badge.svg)](https://github.com/php-http/mock-client/actions/workflows/tests.yml)\n[![Total Downloads](https://img.shields.io/packagist/dt/php-http/mock-client.svg?style=flat-square)](https://packagist.org/packages/php-http/mock-client)\n\n**Mock HTTP client**\n\n\n## Install\n\nVia Composer\n\n```bash\ncomposer require --dev php-http/mock-client\n```\n\n\n## Usage\n\nThis client does not actually send requests to any server.\n\nInstead it stores the request and returns a pre-set response or throws an exception. This client is useful for unit\ntesting code that depends on a HTTPlug client to send requests and receive responses.\n\n\n## Documentation\n\nPlease see the [mock client](http://docs.php-http.org/en/latest/clients/mock-client.html) section in the [official documentation](http://docs.php-http.org).\n\n\n## Testing\n\n```bash\ncomposer test\n```\n\n\n## Contributing\n\nPlease see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).\n\n\n## Security\n\nIf you discover any security related issues, please contact us at [security@php-http.org](mailto:security@php-http.org).\n\n\n## Credits\n\nThanks to [David de Boer](https://github.com/ddeboer) for implementing the mock client.\n\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-http%2Fmock-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-http%2Fmock-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-http%2Fmock-client/lists"}