waad / scramble-swagger
A Laravel package for generating Swagger/OpenAPI documentation
Installs: 91
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/waad/scramble-swagger
Requires
- php: ^8.1
 - dedoc/scramble: ^0.11|^0.12
 
Requires (Dev)
- laravel/pint: ^1.20
 - orchestra/testbench: ^8.0|^9.0|^10.0
 - pestphp/pest-plugin-laravel: ^2.4|^3.0
 
README
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.
Requirements
- Laravel 10.x or higher
 - PHP 8.1 or higher
 
Installation
composer require waad/scramble-swagger
php artisan vendor:publish --provider "Waad\ScrambleSwagger\ScrambleSwaggerServiceProvider"
Usage
- Configure the 
config/scramble.phpandconfig/scramble-swagger.phpfiles. - Open URL Swagger documentation 
/docs/swaggerdepend onscramble-swagger.url. 
Main Features
- 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 
License
Package is open-source software licensed under the MIT license.
