skrime / skrime-php-sdk
A full-featured implementation of the SKRIME API
1.0.5
2024-08-31 06:50 UTC
Requires
- php: >=7.2
- ext-json: *
- guzzlehttp/guzzle: ^7.8.1
Requires (Dev)
- phpunit/phpunit: ^9.5.0
README
This PHP 7.0+ library allows you to communicate with the SKRIME API.
Getting Started
Recommended installation is using Composer!
In the root of your project execute the following:
$ composer require skrime/skrime-php-sdk
Or add this to your composer.json
file:
{ "require": { "skrime/skrime-php-sdk": "^1.0" } }
Then perform the installation:
$ composer install --no-dev
Examples
Get Domain Pricelist
<?php // Require the autoloader require_once 'vendor/autoload.php'; // Use the library namespace use SKRIME/API; // Then simply pass your API-Token when creating the API client object. $client = new API('API-Token'); // Then you are able to perform a request var_dump($client->domain()->getPricelist()); ?>