spectator
OpenAPI testing for PHP (by hotmeteor)
openapi_contracts
Openapi schemas as API contracts (by mkon)
spectator | openapi_contracts | |
---|---|---|
3 | 1 | |
276 | 24 | |
- | - | |
8.1 | 7.2 | |
about 1 month ago | 14 days ago | |
PHP | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spectator
Posts with mentions or reviews of spectator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-23.
-
How to Build a Perfect API Description
For example, working with Laravel PHP, you can configure the popular testing tool Pest (or PHPUnit) to contract testing OpenAPI using Spectator.
-
Pragmatic development
First, swagger-php generates openapi.yaml based on code attributes, and then the spectator checks API responses to match openapi specification. The popular L5-Swagger is redundant in this case, as it is based on the same swagger-php with the addition of Swagger UI.
-
How to document your Laravel REST API
https://github.com/hotmeteor/spectator for integrating your OAS file with your unit tests.
openapi_contracts
Posts with mentions or reviews of openapi_contracts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-23.
-
How to Build a Perfect API Description
Ruby on Rails: openapi_contracts/ works with RSpec.
What are some alternatives?
When comparing spectator and openapi_contracts you can also consider the following projects:
L5-Swagger - OpenApi or Swagger integration to Laravel
wiretap - The world's coolest API Validation and compliance tool. Validate APIs against OpenAPI specifications and much more
openapi-initializer - Straight forward Laravel command to scaffold an OpenAPI spec file
flyctl - Command line tools for fly.io services