See rates for the top Laravel developers in Latin America

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

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
Laracon US 2016 Recap image

Laracon US 2016 Recap

Read article
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
Shift logo

Shift

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

Shift
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce