Skip to main content
Back to packages
2,116 GitHub stars

dedoc/scramble

View on GitHub

Description

Scramble generates API documentation for Laravel project. Without requiring you to manually write PHPDoc annotations.

After install you will have 2 routes added to your application:

  • /docs/api - UI viewer for your documentation
  • /docs/api.json - Open API document in JSON format describing your API.

By default, these routes are available only in local environment. You can change this behavior by defining viewApiDocs gate.

Related Content on Laravel Daily

Video

Recent Courses on Laravel Daily