rtraselbd / resellerclub-gsuite-php-api
PHP SDK for ResellerClub GSuite API
v1.0.0
2023-03-05 04:05 UTC
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ~6
- psr/log: ^3.0
README
PHP SDK for ResellerClub GSuite API
Available API requests:
- Orders
- GSuite
- Customers
Installation
composer require rtraselbd/resellerclub-gsuite-php-api
Usage Example
use RT\ResellerClub\ResellerClub; /** * Location: [in = India, se = South East Asia & Egypt, gbl = Global] * Plan ID: India, South East Asia & Egypt, Global [Business Starter = (1660,1663,1657), Business Standard = (1661,1664,1658), Business Plus = (1662,1665,1659), Enterprise Plus = (1554, 1560, 1557)] */ $resellerClub = new ResellerClub('<userId>', '<apiKey>'); $resellerClub->gsuite()->add('rtrasel3.com', 1, 1, 1, 'NoInvoice', 'gbl', 1657);
Note: All functions return a raw response from API.
Disclaimer
This repository based on ResellerClub PHP SDK repository.