Skip to content

The PHP SDK for communicating with the Servebolt API.

Notifications You must be signed in to change notification settings

Servebolt/php-sdk

Repository files navigation

Servebolt PHP SDK

A PHP-based software development kit to access the Servebolt API.

Get started

You can install servebolt-php-sdk via composer or by downloading the source.

Via Composer:

servebolt-php-sdk is available on Packagist as the servebolt/sdk package:

composer require servebolt/sdk

From source:

You can also build the source code yourself.

  1. Check out source: git clone git@github.com:Servebolt/php-sdk.git
  2. Navigate into directory: cd php-sdk
  3. Run composer install

Usage

Initialization

Remember to include the Composer autoload-file!

require __DIR__ . '/vendor/autoload.php';
use Servebolt\Sdk\Client;
$client = new Client([
    'apiToken' => 'your-api-token',
]);
$response = $client->cron->list(); // Example call - get all cron jobs

Documentation

Please visit our documentation for further details.

About

The PHP SDK for communicating with the Servebolt API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •