wrkflow/php-api-sdk-builder
Build unified APIs with dependency injection and strict code in mind.
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.
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 (request options) and output (
Response) - 🎗 Encouraging
Data transfer objects - 🎭 Re-usable and configurable headers using objects
APIs packages
List of APIs made with this package
- Maggelano Channel manager - TODO
Development
For development read CONTRIBUTIONS
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
637,827,751
9,703
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
413,412,504
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v0.1.1 | >=8.1 | MIT | |
| v0.1.0 | >=8.1 | MIT |
Pre-releases (13)
| Version | Released | PHP | License |
|---|---|---|---|
| v0.2.0-rc13 | >=8.1 | MIT | |
| v0.2.0-rc12 | >=8.1 | MIT | |
| v0.2.0-rc11 | >=8.1 | MIT | |
| v0.2.0-rc10 | >=8.1 | MIT | |
| v0.2.0-rc9 | >=8.1 | MIT | |
| v0.2.0-rc8 | >=8.1 | MIT | |
| v0.2.0-rc7 | >=8.1 | MIT | |
| v0.2.0-rc6 | >=8.1 | MIT | |
| v0.2.0-rc5 | >=8.1 | MIT | |
| v0.2.0-rc4 | >=8.1 | MIT | |
| v0.2.0-rc3 | >=8.1 | MIT | |
| v0.2.0-rc2 | >=8.1 | MIT | |
| v0.2.0-rc | >=8.1 | MIT |