jamesking.dev/20i-sdk

20i.com Reseller API SDK

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/jamesking.dev/20i-sdk

dev-main 2025-12-30 23:46 UTC

This package is auto-updated.

Last update: 2025-12-30 23:46:36 UTC


README

Latest Version on Packagist Total Downloads

This package is a full PHP SDK for the 20i Reseller API using Saloon v3. It provides the Saloon Request classes, Saloon Resources and a base SDK class to make it easier to use the 20i Reseller API. You can decorate this package with any of Saloon's plugins, such as the Laravel plugin and caching plugin.

Support this project

I donate my own time creating open source packages like this and contributing to other open source projects.

I'd love it if you could sponsor me so that I can dedicate more time contributing to open source:

Installation

You can install the package via Composer:

composer require jamesking.dev/20i-sdk

Usage

Generate your 20i General Api Key from StackCP

use JamesKingDev\TwentyI\TwentyI;

require_once 'vendor/autoload.php';

$twentyI = new TwentyI('your-20i-general-api-key');
$packagesResponse = $sdk->packages()->listPackages('12345');

var_dump($packagesResponse->json());

Changelog

Please see GitHub Releases for more information on what has changed recently.

Contributing

Please see CONTRIBUTING.md for details.

Security Vulnerabilities

Please see SECURITY.md for details.

Credits

License

The MIT License (MIT). Please see LICENSE.md for more information.