https://github.com/knuckleswtf/scribe
Generate API documentation for humans from your Laravel codebase.✍
https://github.com/knuckleswtf/scribe
Last synced: about 2 months ago
JSON representation
Generate API documentation for humans from your Laravel codebase.✍
- Host: GitHub
- URL: https://github.com/knuckleswtf/scribe
- Owner: knuckleswtf
- License: mit
- Created: 2020-05-02T16:36:45.000Z (about 5 years ago)
- Default Branch: v5
- Last Pushed: 2025-05-01T01:17:10.000Z (2 months ago)
- Last Synced: 2025-05-07T22:02:08.753Z (about 2 months ago)
- Language: PHP
- Homepage: https://scribe.knuckles.wtf/laravel/
- Size: 4.96 MB
- Stars: 1,992
- Watchers: 15
- Forks: 335
- Open Issues: 97
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Scribe
[](https://packagist.org/packages/knuckleswtf/scribe) [](https://packagist.org/packages/knuckleswtf/scribe)
> [v5 is out now](https://scribe.knuckles.wtf/laravel/migrating)!
Scribe helps you generate API documentation for humans from your Laravel codebase. See a live example at [demo.scribe.knuckles.wtf](https://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](https://shalvah.teachable.com/p/api-documentation-for-developers?utm_source=scribe-laravel&utm_medium=referral&utm_campaign=none) for you.🤗
## Documentation
Check out the documentation at [scribe.knuckles.wtf/laravel](http://scribe.knuckles.wtf/laravel).## Contributing
Contributing is easy! See our [contribution guide](https://scribe.knuckles.wtf/laravel/contributing).