Skip to content

Jamesking56/20i-sdk

Repository files navigation

20i PHP SDK

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.

About

20i.com Reseller API SDK

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •