fr3d/swagger-assertions
Laravel testing package adding PHPUnit assertions that validate API responses against your Swagger/OpenAPI definitions. Use it in feature tests to check status codes, schemas, and response structures, keeping documentation and endpoints in sync and catching contract drift early.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| oai/openapi-specification | 0.87 | The OpenAPI Specification is the official, language-agnostic standard for describing RESTful APIs. It lets humans and machines discover and understand a service's capabilities without source code, docs, or traffic inspection, making it foundational for API tooling in PHP and Laravel projects. | 31,291 | — | 9,146 | — | 71 | 75.8 | 31.8 | Apache-2.0 | 1 month ago | |
| adrenalinkin/swagger-resolver-bundle | 0.86 | Symfony bundle that validates request/response data against Swagger 2 (OpenAPI) specs. Generates a SwaggerResolver based on Symfony OptionsResolver, with warmed caching and debug auto-refresh. Loads docs via NelmioApiDocBundle, swagger-php, or JSON/YAML files. | 10 | 10 | 4 | 14 | 8 | 2.6 | 7.9 | MIT | — | |
| stfalcon-studio/swagger-bundle | 0.85 | A Symfony bundle that integrates swagger-php to generate OpenAPI/Swagger documentation from PHP annotations, helping keep API specs in sync with your code and exposing interactive docs for your endpoints. | 6 | — | 2 | — | 0 | 6.2 | — | MIT | 9 months ago | |
| appointer/swaggervel | 0.85 | Swaggervel integrates Swagger UI and swagger-php with Laravel, letting you generate and browse interactive API documentation from annotations. Publish the config, scan your app, and serve live API docs from a route. | 69 | — | 37 | — | 4 | 1.3 | 0.8 | — | 7 years ago |
|
| draw/open-api | 0.85 | PHP library for manipulating OpenAPI (Swagger) documents. Focused on OpenAPI/Swagger 2.0 only, providing tools to read, update, and work with API definitions in code. | 0 | 0 | 0 | 1K | 0 | 0.0 | 42.2 | — | — | |
| endanguyen/yaml-swagger-laravel | 0.85 | Laravel package that integrates Swagger/OpenAPI docs defined in YAML. Load and serve YAML-based API specifications in a Laravel app to generate interactive documentation and keep definitions versionable alongside your code. | 4 | 4 | 0 | 0 | 0 | 0.0 | — | — | — | |
| radebatz/openapi-introspector | 0.85 | radebatz/openapi-introspector inspects OpenAPI/Swagger specifications at runtime, exposing endpoints, schemas, and metadata to Laravel and PHP apps. It helps generate documentation, validate APIs, and integrate specs into tooling with a clean, framework-friendly API. | 0 | 0 | 0 | 9 | 0 | 20.0 | 16.2 | MIT | 1 week ago | |
| pact-foundation/pact-php | 0.85 | PHP implementation of the Pact consumer-driven contract testing framework. Define contracts between services, run provider verification, and integrate with PHPUnit/CI to prevent breaking API changes. Supports HTTP interactions, mock servers, and Pact Broker workflows. | 303 | 303 | 91 | 119K | 2 | 24.7 | 41.9 | Apache-2.0 | 5 months ago | |
| hypecodeteam/swagger-ui-bundle | 0.85 | Swagger UI Bundle integrates Swagger UI into Laravel, making it easy to publish and browse interactive OpenAPI/Swagger documentation. It bundles the needed assets and routes so you can expose API docs with minimal setup and configuration. | 0 | 0 | 0 | 65 | 0 | 0.0 | 25.1 | GPL-3.0 | — | |
| kirschbaum-development/laravel-openapi-validator | 0.85 | Validate Laravel requests and responses against your OpenAPI (Swagger) specification. Catch schema mismatches early with middleware, clear error messages, and minimal setup, keeping your API contract and documentation in sync. | 58 | 58 | 14 | 71K | 3 | 13.9 | 47.4 | MIT | 4 months ago | |
| draw/swagger | 0.85 | — | 1 | 1 | 6 | 0 | 0 | 1.4 | — | MIT | 6 years ago | |
| cirlmcesc/laravel-swaggerdoc | 0.85 | Generate OpenAPI 3.0 (Swagger) docs from your Laravel tests/commands. Write tests and produce an interface document automatically, inspired by swagger-php, to keep API documentation in sync with your code. | 1 | 1 | 0 | 0 | 0 | 1.8 | 0.4 | MIT | 6 years ago | |
| riconijeboer/laravel-to-swagger | 0.85 | laravel-to-swagger generates Swagger/OpenAPI documentation for Laravel applications, turning routes and controllers into browsable API docs so your specification stays aligned with the code you ship. | 22 | — | 0 | — | 0 | 0.2 | — | MIT | 4 years ago | |
| mtrajano/laravel-swagger | 0.85 | Generate Swagger/OpenAPI documentation for Laravel APIs directly from your routes and controller annotations. mtrajano/laravel-swagger scans your app to produce interactive API docs, reducing manual spec maintenance and keeping endpoints in sync. | 173 | — | 68 | — | 20 | 9.4 | 8.9 | — | 5 years ago |
|
| mezatsong/laravel-swagger-docs | 0.84 | A Laravel package for generating Swagger/OpenAPI documentation from your API routes and annotations, helping you publish interactive API reference docs directly within your Laravel application. | 24 | — | 12 | — | 7 | 5.7 | 1.9 | MIT | 10 months ago | |
| binarytorch/larecipe-swagger | 0.84 | Adds Swagger/OpenAPI support to LaRecipe documentation sites, letting Laravel apps render interactive API reference pages from OpenAPI specs alongside their existing docs. | 35 | 35 | 5 | 1K | 3 | 0.5 | 15.8 | MIT | 7 years ago | |
| infyomlabs/swagger-generator | 0.84 | Generate Swagger/OpenAPI documentation for Laravel APIs directly from your routes and controllers. InfyomLabs Swagger Generator automates spec creation, reduces manual annotation work, and helps keep interactive API docs in sync with your codebase. | 114 | 115 | 64 | 6K | 2 | 3.3 | 24.4 | MIT | 3 years ago | |
| osteel/openapi-httpfoundation-testing | 0.84 | Validate Laravel HTTP test responses against an OpenAPI schema. Integrates with HTTP Foundation testing to assert that API responses match your OpenAPI specification, helping catch contract drift early. | 121 | — | 16 | — | 1 | 17.3 | — | MIT | 2 months ago |
|
| jlapp/swaggervel | 0.84 | Swaggervel integrates Swagger UI and Swagger-PHP with Laravel, generating interactive API documentation from your annotations and serving it through configurable routes. Publish the config and assets, then browse a ready-made docs UI for your application's API. | 481 | 489 | 169 | 6K | 21 | 14.9 | 26.7 | — | — | |
| wotz/laravel-swagger-ui | 0.84 | Laravel Swagger UI exposes your OpenAPI v3 JSON or YAML file through a built-in Swagger UI at /swagger, automatically using the current environment’s base URL. Install via Composer, publish the config, and customize paths, versions, access gates, and OAuth2 settings. | 280 | 280 | 38 | 29K | 7 | 26.6 | 33.6 | MIT | 2 months ago |
How can I help you explore Laravel packages today?