PHPackages                             jamesking.dev/20i-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. [API Development](/categories/api)
4. /
5. jamesking.dev/20i-sdk

ActiveLibrary[API Development](/categories/api)

jamesking.dev/20i-sdk
=====================

20i.com Reseller API SDK

05[1 issues](https://github.com/Jamesking56/20i-sdk/issues)[2 PRs](https://github.com/Jamesking56/20i-sdk/pulls)PHPCI failing

Since Mar 22Pushed 1mo agoCompare

[ Source](https://github.com/Jamesking56/20i-sdk)[ Packagist](https://packagist.org/packages/jamesking.dev/20i-sdk)[ RSS](/packages/jameskingdev-20i-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

20i PHP SDK
===========

[](#20i-php-sdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/937f29d7d7572b7035a01cab6389ceb05b78475c4adfba756b2075babfb439f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a616d65736b696e672e6465762f3230692d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jamesking.dev/20i-sdk)[![Total Downloads](https://camo.githubusercontent.com/921775320c070a0a44cf97fb6e31705123c192e08b69c7ebaa4b0390f8c2e6eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a616d65736b696e672e6465762f3230692d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jamesking.dev/20i-sdk)

This package is a full PHP SDK for the 20i Reseller API using [Saloon](https://docs.saloon.dev/) 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
--------------------

[](#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:

- [GitHub Sponsors](https://github.com/sponsors/Jamesking56)
- [Tidelift](https://tidelift.com/funding/github/packagist/jamesking.dev/20i-sdk)
- [Thanks.dev](https://thanks.dev/u/gh/Jamesking56)

Installation
------------

[](#installation)

You can install the package via [Composer](https://getcomposer.org/):

```
composer require jamesking.dev/20i-sdk
```

Usage
-----

[](#usage)

[Generate your 20i General Api Key from StackCP](https://my.20i.com/reseller/api)

```
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
---------

[](#changelog)

Please see [GitHub Releases](https://github.com/Jamesking56/20i-sdk/releases) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please see [SECURITY.md](SECURITY.md) for details.

Credits
-------

[](#credits)

- [Jamesking56 (Author)](https://github.com/Jamesking56)
- [Contributors](https://github.com/Jamesking56/20i-sdk/graphs/contributors)
- [Saloon Contributors](https://github.com/saloonphp/saloon/graphs/contributors)
- [Crescat's Saloon SDK Generator Contributors](https://github.com/crescat-io/saloon-sdk-generator/graphs/contributors)
- [apib2swagger Contributors](https://github.com/kminami/apib2swagger/graphs/contributors)
- [Rector Contributors](https://github.com/rectorphp/rector/graphs/contributors)
- [Laravel Pint Contributors](https://github.com/laravel/pint/graphs/contributors)

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance61

Regular maintenance activity

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/93c418e71a3736991017c8204bac2e920bf9c53fa2b278786f7c908d5b5d9c48?d=identicon)[Jamesking56](/maintainers/Jamesking56)

---

Top Contributors

[![Jamesking56](https://avatars.githubusercontent.com/u/253237?v=4)](https://github.com/Jamesking56 "Jamesking56 (16 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (8 commits)")

---

Tags

20i-hostinglibrarypackagistphp

### Embed Badge

![Health badge](/badges/jameskingdev-20i-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/jameskingdev-20i-sdk/health.svg)](https://phpackages.com/packages/jameskingdev-20i-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
