OpenApi or Swagger specification for your Laravel project is made easy. The easiest way to build and test your Laravel-based API using Swagger-PHP is to use Passport's CreateFreshApiToken middleware. This middleware, built into Laravel's core, adds a cookie to all responses, and the cookie authenticates all subsequent requests through Passport's TokenGuard. This package is a wrapper of Swagger-PHP and swagger-UI adapted to work with Laravel. The actual Swagger spec is beyond the scope of this package. To get started, first publish L5-Swagger's config and view files into your own project.

Features

  • Multi API documentation support
  • Swagger/OpenApi annotations
  • Generate documentation
  • You can publish L5-Swagger's config and view files into your project
  • For versions >= 6
  • Add to your controller, model, or even a separate file

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow L5 Swagger

L5 Swagger Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of L5 Swagger!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Software Development Software

Registered

2022-03-18