spectator
OpenAPI testing for PHP (by hotmeteor)
openapi-initializer
Straight forward Laravel command to scaffold an OpenAPI spec file (by PrimitiveSocial)
spectator | openapi-initializer | |
---|---|---|
3 | 2 | |
276 | 79 | |
- | - | |
8.1 | 0.0 | |
about 1 month ago | about 3 years ago | |
PHP | PHP | |
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-initializer
Posts with mentions or reviews of openapi-initializer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-10.
-
Release v1.7.0 ยท SwaggerBake - An OpenAPI generator for CakePHP
How does this compare with what Symfony's API Platform does or some of the Laravel plugins like https://github.com/PrimitiveSocial/openapi-initializer ?
-
How to document your Laravel REST API
https://github.com/primitivesocial/openapi-initializer for starting your OAS file. (shameless self promotion right here)
What are some alternatives?
When comparing spectator and openapi-initializer you can also consider the following projects:
L5-Swagger - OpenApi or Swagger integration to Laravel
cakephp-swagger-bake - Automatically generate OpenAPI, Swagger, and Redoc documentation from your existing CakePHP code.
flyctl - Command line tools for fly.io services