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
Requires
- php: ^8.2
- saloonphp/saloon: ^3.0
- spatie/laravel-data: ^3.0 || ^4.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.48
- jamesking.dev/coding-standards: ^0.1.0
- laravel/pint: ^1.26
- rector/rector: ^2.3
This package is auto-updated.
Last update: 2025-12-30 23:46:36 UTC
README
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
- Jamesking56 (Author)
- Contributors
- Saloon Contributors
- Crescat's Saloon SDK Generator Contributors
- apib2swagger Contributors
- Rector Contributors
- Laravel Pint Contributors
License
The MIT License (MIT). Please see LICENSE.md for more information.