composer require wrkflow/php-api-sdk-builder
This package is still in its early stages. But the main concepts will probably remain same.
This package helps you build PHP clients for external APIs with dependency injection and type strict code in mind.
- If you want to consume external API without losing type strict code (Data transfer objects instead of array keys).
- If you work with multiple APIs and want to use the same conventions.
- If you want to provide type strict way to build request parameters.
- If you want to save time building HTTP/s request.
- 🛠 Dependency injection using your favorite framework (Laravel, PR for more)
- ✅ Uses PSR packages you already use for HTTP/S communication
- 🏆 Forcing type strict implementation for input (request options) and output (
Response
) - 🎗 Encouraging
Data transfer objects
- 🎭 Re-usable and configurable headers using objects
List of APIs made with this package
- Maggelano Channel manager - TODO
For development read CONTRIBUTIONS