patrikap / apiator
Service designed to help when working with REST JSON API
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/patrikap/apiator
Requires
- php: ^7.4
- illuminate/contracts: ^7.0|^8.0
- illuminate/http: ^7.0|^8.0
- illuminate/routing: ^7.0|^8.0
- illuminate/support: ^7.0|^8.0
- vlucas/phpdotenv: ^3.0|^4.0|^5.0
This package is auto-updated.
Last update: 2025-10-11 07:22:46 UTC
README
Service designed to help when working with REST JSON API:
- converts API responses to a single format
- logs requests and responses (without delaying the response to the client)
Because logging called after a response sent to the client, this work is very fast.
Docs links
To be continue...
- add logging implementation
- separation into interfaces ("request logger" and "response logger")
- add request and response logging formatters
- correct finding version response
- add some loggers
- in file
- in db
- in LogStash
- add tests
Changelog
Please see CHANGELOG for more information what has changed recently.
Authors
- Developers
- Mentors and code reviewers
Acknowledgments
- REST API Best Practices
- Laravel REST API Response Builder
- How to Build and Test a RESTful API
- Inspiration
Licence
MIT, please see LICENCE for more information.