patrikap / apiator
Service designed to help when working with REST JSON API
1.1.3
2020-10-10 20:19 UTC
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-05-11 06:27:24 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.