wrkflow/php-api-sdk-builder

This package helps you build PHP clients for external APIs with dependency injection and type strict code in mind.
6,614 2
Install
composer require wrkflow/php-api-sdk-builder
Latest Version:v0.1.1
PHP:>=8.1
License:MIT
Last Updated:Sep 16, 2026
Links: GitHub  ·  Packagist
Maintainer: pionl

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

img php coverage

  • 🛠 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

📖 Read the documentation

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/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
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