Introduction
This package helps you build PHP clients for external APIs with dependency injection and type strict code in mind.
Why to use?
- 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.
Features
- 🛠 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 (endpoint options) and output (Response)
- 🎗 Encouraging Data transfer objects
- 🎭 Re-usable and configurable headers using objects
Installation
composer require wrkflow/php-api-sdk-builder
APIs packages
List of APIs made with this package
- Maggelano Channel manager - TODO