Skip to content

knuckleswtf/scribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 28, 2023
0fe280e · May 28, 2023
May 5, 2023
Jan 8, 2023
May 9, 2023
Apr 22, 2023
May 5, 2023
Sep 8, 2022
May 28, 2023
May 28, 2023
Feb 3, 2022
Jul 22, 2021
Jun 25, 2022
Jul 12, 2021
May 28, 2023
May 8, 2020
Aug 27, 2022
Apr 28, 2023
Aug 27, 2022
Mar 19, 2023
Jun 25, 2022
May 10, 2020
Jan 8, 2023
Jan 13, 2023

Repository files navigation

Scribe

Latest Stable Version Total Downloads


v4 is out now! Featuring subgroups, easier sorting, and an automated upgrade command.

Scribe helps you generate API documentation for humans from your Laravel/Lumen/Dingo 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.

If you're coming from mpociot/laravel-apidoc-generator, first migrate to v3`, then to v4.

Contributing

Contributing is easy! See our contribution guide.