Skip to content

Generate API documentation for humans from your Laravel codebase.✍

License

Notifications You must be signed in to change notification settings

knuckleswtf/scribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,648 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo-scribe

Latest Stable Version Total Downloads Code Style

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 (v3.0.3 or v3.1.0)
  • 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
  • Customizable to different levels:
    • Customize the UI by adjusting text, ordering, examples, or changing the UI itself
    • Add custom strategies to adjust how data is extracted
    • Statically define extra endpoints or information not in your codebase

Tip

👋 Scribe helps you generate docs automatically, but if you really want to make friendly, maintainable, and testable API docs, there are 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.

About

Generate API documentation for humans from your Laravel codebase.✍

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors 213