Download the PHP package ronu/laravel-openapi-generator without Composer
On this page you can find all versions of the php package ronu/laravel-openapi-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ronu/laravel-openapi-generator
More information about ronu/laravel-openapi-generator
Files in ronu/laravel-openapi-generator
Download ronu/laravel-openapi-generator
More information about ronu/laravel-openapi-generator
Files in ronu/laravel-openapi-generator
Vendor ronu
Package laravel-openapi-generator
Short Description Automatic OpenAPI 3.0.3 documentation generator for Laravel with Postman and Insomnia export support
License MIT
Package laravel-openapi-generator
Short Description Automatic OpenAPI 3.0.3 documentation generator for Laravel with Postman and Insomnia export support
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-openapi-generator
Laravel OpenAPI Generator
Automatic OpenAPI 3.0.3, Postman, and Insomnia documentation generation for Laravel applications.
Requirements
- PHP 8.1+
- Laravel 10.x, 11.x, or 12.x
- Composer 2.x
Installation
Publish configuration (recommended):
Publish templates (optional):
Quickstart
Generate OpenAPI JSON:
Generate all formats:
Fetch via HTTP (when routes are enabled):
Minimum viable configuration
The package works out-of-the-box, but most teams configure API types and routes in config/openapi.php:
Common scenarios
1) Filter docs by API type
2) Expose documentation via HTTP
3) Add custom endpoint docs
Edge scenarios (short list)
- Config caching + runtime
env()usage can keep old values; prefer config overrides and clear cache. - Concurrent generation can write to the same output files; use
--outputfor unique paths. - Large route sets may time out on HTTP endpoints; generate via CLI and serve files from storage.
See Edge and extreme scenarios for details.
API reference
- Public API
- Artisan command reference
Troubleshooting (quick)
- Invalid api_type: Check
openapi.api_typesand ensure the key is enabled. - No routes found: Review
openapi.exclude_routesand API type filters. - Placeholders not updating: Clear config cache or set config values explicitly.
Full documentation
Start here: documentation/index.md
Contributing & security
- Contributing guide: open a PR with clear scope and tests when possible.
- Security: please report vulnerabilities privately to the maintainers.
License
MIT. See LICENSE.
All versions of laravel-openapi-generator with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1|^8.2|^8.3
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
cebe/php-openapi Version ^1.7
symfony/yaml Version ^6.0|^7.0
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
cebe/php-openapi Version ^1.7
symfony/yaml Version ^6.0|^7.0
The package ronu/laravel-openapi-generator contains the following files
Loading the files please wait ...