{"id":13395609,"url":"https://github.com/Maks3w/Psr7Assertions","last_synced_at":"2025-03-13T22:30:35.744Z","repository":{"id":33412922,"uuid":"37058157","full_name":"Maks3w/Psr7Assertions","owner":"Maks3w","description":"Test your library conformance with PSR-7","archived":false,"fork":false,"pushed_at":"2016-04-16T13:39:44.000Z","size":26,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-20T14:05:36.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maks3w.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-08T09:35:32.000Z","updated_at":"2021-11-05T05:20:41.000Z","dependencies_parsed_at":"2022-09-12T21:50:42.907Z","dependency_job_id":null,"html_url":"https://github.com/Maks3w/Psr7Assertions","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/Maks3w%2FPsr7Assertions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maks3w%2FPsr7Assertions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maks3w%2FPsr7Assertions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maks3w%2FPsr7Assertions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maks3w","download_url":"https://codeload.github.com/Maks3w/Psr7Assertions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493059,"owners_count":20299593,"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-07-30T18:00:25.974Z","updated_at":"2025-03-13T22:30:35.263Z","avatar_url":"https://github.com/Maks3w.png","language":"PHP","funding_links":[],"categories":["Testing"],"sub_categories":[],"readme":"# PSR-7 Assertions\n\n[![Build Status](https://travis-ci.org/Maks3w/Psr7Assertions.svg?branch=master)](https://travis-ci.org/Maks3w/Psr7Assertions)\n[![Coverage Status](https://coveralls.io/repos/Maks3w/Psr7Assertions/badge.svg?branch=master)](https://coveralls.io/r/Maks3w/Psr7Assertions?branch=master)\n\nTest if your HTTP messages are compliant with the [PSR-7 (HTTP message interfaces) specification](http://www.php-fig.org/psr/psr-7/).\n\n## Installation\n\nUse [Composer](https://getcomposer.org) to install this library:\n\n```bash\ncomposer require maks3w/psr7-assertions\n```\n\n## Usage in PHPUnit\n\n`Psr7Assertions` provides following traits with helper functions for asserting interface constraints:\n\n- [MessageInterfaceTestsTrait](src/PhpUnit/MessageInterfaceTestsTrait.php) for testing `MessageInterface` implementations.\n- [RequestInterfaceTestsTrait](src/PhpUnit/RequestInterfaceTestsTrait.php) for testing `RequestInterface` implementations.\n- [ResponseInterfaceTestsTrait](src/PhpUnit/ResponseInterfaceTestsTrait.php) for testing `ResponseInterface` implementations.\n- [ServerRequestInterfaceTestsTrait](src/PhpUnit/ServerRequestInterfaceTestsTrait.php) for testing `ServerRequestInterface` implementations.\n\nSee examples at [example/PhpUnit](example/PhpUnit).\n\n## License\n\n  Code licensed under BSD 2 clauses terms \u0026 conditions.\n\n  See [LICENSE.txt](LICENSE.txt) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaks3w%2FPsr7Assertions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMaks3w%2FPsr7Assertions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaks3w%2FPsr7Assertions/lists"}