knuckleswtf / scribe
Generate API documentation for humans from your Laravel codebase.✍
Fund package maintenance!
Patreon
Installs: 6 555 297
Dependents: 19
Suggesters: 1
Security: 0
Stars: 1 755
Watchers: 17
Forks: 317
Open Issues: 88
Requires
- php: >=8.0
- ext-fileinfo: *
- ext-json: *
- ext-pdo: *
- erusev/parsedown: 1.7.4
- fakerphp/faker: ^1.9.1
- illuminate/console: ^8.0|^9.0|^10.0|^11.0
- illuminate/routing: ^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
- league/flysystem: ^1.1.4|^2.1.1|^3.0
- mpociot/reflection-docblock: ^1.0.1
- nikic/php-parser: ^5.0
- nunomaduro/collision: ^5.10|^6.0|^7.0|^8.0
- ramsey/uuid: ^4.2.2
- shalvah/clara: ^3.1.0
- shalvah/upgrader: >=0.6.0
- spatie/data-transfer-object: ^2.6|^3.0
- symfony/var-exporter: ^5.4|^6.0|^7.0
- symfony/yaml: ^5.4|^6.0|^7.0
Requires (Dev)
- brianium/paratest: ^6.0
- dms/phpunit-arraysubset-asserts: ^0.4
- laravel/legacy-factories: ^1.3.0
- laravel/lumen-framework: ^8.0|^9.0|^10.0
- league/fractal: ^0.20
- nikic/fast-route: ^1.3
- orchestra/testbench: ^6.0|^7.0|^8.0
- pestphp/pest: ^1.21
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^9.0|^10.0
- symfony/css-selector: ^5.4|^6.0
- symfony/dom-crawler: ^5.4|^6.0
Replaces
- dev-master
- 4.38.0
- 4.37.2
- 4.37.1
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.1
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.1
- 4.23.0
- 4.22.0
- 4.21.2
- 4.21.1
- 4.21.0
- 4.20.0
- 4.19.1
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.1
- 4.16.0
- 4.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.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta
- dev-missing-headings
- dev-revert-354-feature/sidebar
This package is auto-updated.
Last update: 2024-11-20 22:30:55 UTC
README
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.