Download the PHP package generatorlabs/sdk without Composer

On this page you can find all versions of the php package generatorlabs/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

Generator Labs PHP SDK

Tests codecov PHPStan PHP Version

The official PHP SDK for the Generator Labs API v4.0.

Table of Contents

Features

Prerequisites

Before using this library, you must have:

Installation

Install via Composer:

Quick Start

Initialize the Client

RBL Monitoring

List Hosts

Get a Single Host

Create a New Host

Update a Host

Delete a Host

Pause/Resume a Host

Start a Manual RBL Check

Manage RBL Profiles

Manage RBL Sources

Contact Management

Manage Contacts

Manage Contact Groups

Certificate Monitoring

Certificate monitoring allows you to monitor SSL/TLS certificates for expiration, validity, and configuration issues across HTTPS, SMTPS, IMAPS, and other TLS-enabled services.

List Certificate Errors

Manage Certificate Monitors

Manage Certificate Profiles

Pagination

List endpoints return paginated results. You can manually pass page and page_size parameters, or use the getAll() helper to automatically fetch every page and return a flat array of all items:

The getAll() method is available on all list endpoints:

Webhook Verification

The SDK includes a helper for verifying incoming webhook signatures. Each webhook is assigned a signing secret (available in the Portal), which is used to compute an HMAC-SHA256 signature sent with every request in the X-Webhook-Signature header.

The default timestamp tolerance is 5 minutes. You can customize it (in seconds), or pass 0 to disable:

See examples/webhook-verification.php for a complete example.

API Documentation

Full API documentation is available at the Generator Labs Developer Site.

Rate Limiting

The API enforces two layers of rate limiting:

When a rate limit is exceeded, the API returns HTTP 429 with a Retry-After header indicating how many seconds to wait. The SDK automatically respects this header during retries, falling back to exponential backoff for other retryable errors.

All API responses include IETF draft rate limit headers, accessible via the rate_limit property on every response:

Header Description Example
RateLimit-Limit Active rate limit policies 1000;w=3600, 100;w=1
RateLimit-Remaining Requests remaining in the most restrictive window 95
RateLimit-Reset Seconds until the most restrictive window resets 1

API Structure

The v4.0 API follows a RESTful design with three main resource namespaces:

RBL Namespace ($client->rbl)

Contact Namespace ($client->contact)

Certificate Namespace ($client->cert)

Development

Running Tests

Running Static Analysis

Running All Quality Checks

Release History

v2.0.1 (2026-06-19)

v2.0.0 (2026-01-31)

v1.1.0

v1.0.3

v1.0.2

v1.0.1

v1.0.0

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For questions, issues, or feature requests:

License

This library is released under the MIT License. See LICENSE for details.

Links


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0
ext-json Version *
guzzlehttp/guzzle Version ^7.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package generatorlabs/sdk contains the following files

Loading the files please wait ...