PHPackages                             rooberthh/php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rooberthh/php-sdk

ActiveLibrary

rooberthh/php-sdk
=================

A framework for building SDKs in PHP.

01PHP

Since Jan 11Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Rooberthh/php-sdk)[ Packagist](https://packagist.org/packages/rooberthh/php-sdk)[ RSS](/packages/rooberthh-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK Generator
=================

[](#php-sdk-generator)

A flexible PHP SDK framework that helps you quickly build API client libraries with built-in authentication, resource management, and automatic data object mapping.

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Composer

Dependencies
------------

[](#dependencies)

- `php-http/httplug` - HTTP client abstraction
- `league/object-mapper` - Automatic DTO hydration
- `rooberthh/http-tools` - HTTP utilities

Quick Start
-----------

[](#quick-start)

### Installation

[](#installation)

```
composer require rooberthh/php-sdk
```

Generating Your SDK
-------------------

[](#generating-your-sdk)

### Using the CLI Generator

[](#using-the-cli-generator)

The fastest way to create your SDK is using the included CLI generator that you can run from your project root.

```
./vendor/bin/php-sdk-generate
```

### Example Generated Client

[](#example-generated-client)

```
