A Laravel package that seamlessly integrates with Dedoc Scramble to automatically generate Swagger/OpenAPI documentation for your APIs and support multiple versions of your API. No manual documentation required - your API endpoints are documented based on your route definitions and code.
⚠️ This package depends on Dedoc Scramble.
- Laravel 10.x or higher
- PHP 8.1 or higher
composer require waad/scramble-swaggerphp artisan vendor:publish --provider "Waad\ScrambleSwagger\ScrambleSwaggerServiceProvider"- Configure the
config/scramble.phpandconfig/scramble-swagger.phpfiles. - Open URL Swagger documentation
/docs/swaggerdepend onscramble-swagger.url.
- All Features of Dedoc Scramble.
- Support multiple versions of your API.
- Use Swagger UI v5.18.3
- Use OAS 3.1.0
- Custom Style css
scramble-swagger/css/custom-style.css
Package is open-source software licensed under the MIT license.
