10 Tips For Using Laravel API Resources
Laravel API resources are powerful for standardizing your responses. These 10 tips will help you to use them to their full potential.
Automatize your API documentation to keep it up-to-date with your code. No PHP annotations are needed!
Adopt the Test Driven Documentation! Write a test using an endpoint to be sure it'll always be documented.
You don't have to worry about updating your documentation - we handle it automatically every time you push new code.
Get your whole team on board with Laradoc and manage their access to your API documentation.
As your Laravel project grows, manually writing and maintaining your API documentation becomes a nearly impossible task. That's where Laradoc comes in.
Because Laradoc runs and analyzes your Laravel tests, you can be sure that the HTTP response examples are always up-to-date.
Documentation will still be written without API requests and response examples. However, we can write your tests ourselves upon request.
Laradoc analyzes your Laravel project to detect API endpoints, route and body parameters, and their rules.
Laradoc runs your test deeply how your API works and what is returned by your endpoints.
We gather all the information collected previously, and we generate a new version of your documentation.
Our pricing is simple: one fixed plan that you can pay for either monthly or yearly. Billing is per project, regardless of how many people you give access to your API documentation.
Sign up before the end of the beta to get free access.
Laravel API resources are powerful for standardizing your responses. These 10 tips will help you to use them to their full potential.