metafox/scribe

Generate API documentation for humans from your Laravel codebase.✍
9,060
Install
composer require metafox/scribe
Latest Version:4.22.2
PHP:>=8.1
License:MIT
Last Updated:Dec 24, 2025
Links: GitHub  ·  Packagist
Maintainer: metafox

Scribe

Latest Stable Version Total Downloads

v5 is out now!

Scribe helps you generate API documentation for humans from your Laravel codebase. See a live example at demo.scribe.knuckles.wtf.

Features

  • Useful output:
    • Pretty single-page HTML doc, with human-friendly text, code samples, and in-browser API tester ("Try It Out")
    • Generates Postman collection and OpenAPI spec
  • Smarts. Scribe can:
    • extract request parameter details from FormRequests or validation rules
    • safely call API endpoints to get sample responses
    • generate sample responses from Eloquent API Resources or Transformers
  • Customisable to different levels:
    • Customise the UI by adjusting text, ordering, examples, or change the UI itself
    • Add custom strategies to adjust how data is extracted
    • Statically define extra endpoints or information that isn't in your codebase

👋 Scribe helps you generate docs automatically, but if you really want to make friendly, maintainable and testable API docs, there's some more things you need to know. So I made a course for you.🤗

Documentation

Check out the documentation at scribe.knuckles.wtf/laravel.

Contributing

Contributing is easy! See our contribution guide.

Related Packages

darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

2,502,544 331
despark/apidoc

Generate api documentation and use swagger to consume it

2,347 13
darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

42,294,993 2,936
jlapp/swaggervel

A great way to integrate Swagger into Laravel

971,876 484
g-six/l5-api-documentor

Generate beautiful API documentation from your Laravel application

893 0

Version History

Version Released PHP Laravel License
4.22.2 >=8.1 ^9.0|^10.0|^11.0|^12.0 MIT
v4.22.1 >=8.0 ^8.0|^9.0|^10.0 MIT
3.26.0 >=7.4 ^6.0|^7.0|^8.0|^9.0 MIT
3.25.0 >=7.4 ^6.0|^7.0|^8.0|^9.0 MIT
3.24.1 >=7.4 ^6.0|^7.0|^8.0|^9.0 MIT
Pre-releases (7)
Version Released PHP Laravel License
2.0.0-beta.1 >=7.2.5 ^6.0|^7.0|^8.0 MIT
2.0.0-beta >=7.2.5 ^6.0|^7.0|^8.0 MIT
2.0.0-alpha >=7.2.5 ^6.0|^7.0|^8.0 MIT
1.0.0-beta4 >=7.2.5 ^5.8|^6.0|^7.0 MIT
1.0.0-beta3 >=7.2.5 ^5.8|^6.0|^7.0 MIT