Outsource Laravel Development Partner - $3200/Month | Bacancy

L5 Swagger

darkaonline/l5-swagger image

L5 Swagger stats

Downloads
13.3M
Stars
2,344
Open Issues
28
Forks
373

View on GitHub →

OpenApi or Swagger integration to Laravel

L5 Swagger: Simplifying API Documentation in Laravel

L5 Swagger integrates Swagger into Laravel projects, providing a seamless way to generate and display interactive API documentation. It acts as a convenient wrapper around swagger-php and swagger-ui, specifically tailored for the Laravel environment.

Key Features:

  • Automatic Documentation Generation: Automatically generates OpenAPI (formerly Swagger) documentation from your Laravel application's code.
  • Interactive API Documentation: Leverages swagger-ui to present an interactive and user-friendly API interface that allows for real-time interaction and testing.
  • Laravel Compatibility: Designed to integrate smoothly with Laravel, enhancing development without disrupting the existing workflow.

Installation & Usage:

  1. Installation: Install via Composer with composer require darkaonline/l5-swagger.
  2. Configuration: Publish the configuration files using php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider".
  3. Access: Access your API documentation at /api/documentation or the path configured in your settings.

Additional Resources:

For more detailed instructions on installation, configuration, and usage, refer to the L5 Swagger Wiki. The Wiki also includes migration guides, changelog, and tips for using Swagger UI effectively with Laravel Passport.

Quick Links:

Support:

Consider supporting the development of L5 Swagger by sponsoring via GitHub Sponsors.

Disclaimer:

L5 Swagger is primarily a wrapper for swagger-php and swagger-ui, focusing on Laravel integration. For comprehensive usage of Swagger's core features, refer to the swagger-php documentation.

L5 Swagger simplifies API documentation in Laravel, making it an essential tool for developers looking to enhance their API's usability and accessibility.

DarkaOnLine photo

Team Lead Connectors Engineering @supermetrics

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Darkaonline L5 Swagger Related Articles

Nimbus: An In-Browser API Testing Playground for Laravel image

Nimbus: An In-Browser API Testing Playground for Laravel

Read article
Documenting API authentication in Laravel with Scramble image

Documenting API authentication in Laravel with Scramble

Read article
Automated API documentation of Laravel API resources image

Automated API documentation of Laravel API resources

Read article
Add Swagger UI to Your Laravel Application image

Add Swagger UI to Your Laravel Application

Read article
Automating your OpenAPI Documentation image

Automating your OpenAPI Documentation

Read article
Laravel OpenAPI Validator image

Laravel OpenAPI Validator

Read article
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing