Courses

How to Build Laravel 12 API From Scratch

Generating API Documentation with Scribe

You're reading a FREE PREVIEW of a PREMIUM course.
Summary of this lesson:
- Installing and configuring Scribe for API documentation
- Customizing documentation
- Adding endpoint descriptions and parameters using docblocks/attributes

Video Version of the Lesson

[Only for premium members]

In this lesson, we will talk about API documentation and how to generate it. This lesson will use Scribe to auto-generate documentation. At the end, we will have a similar page to the image below:


We can install Scribe via composer with the --dev flag because this package is for a development environment. And then publish the config file.

composer require --dev knuckleswtf/scribe
php artisan vendor:publish --tag=scribe-config

By default, Scribe is set to use...

The full lesson is only for Premium Members.
Want to access all 28 video+text lessons of this course? (1 h 21 min)

You also get:

  • 83 courses
  • Premium tutorials
  • Access to repositories
  • Private Discord