Download the PHP package administrate/sdk without Composer

On this page you can find all versions of the php package administrate/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

Administrate PHP SDK

The official PHP SDK for the Administrate.dev REST API.

Administrate.dev is AI Agency Management software. It is a monitoring and management platform for AI agencies running n8n and AI automation workflows across multiple clients. It provides a single dashboard to track every workflow, every client, every failure, and all LLM costs, so you can catch problems before clients do and prove the value of your automations.

Key platform features:

Installation

Install via Composer:

Requires PHP 8.1+.

Quick start

Configuration

You can also pass any PSR-18 compatible HTTP client:

API reference

All API keys are created in Settings > Developers within Administrate.dev. Tokens have three permission levels: read, write, and full.

Account

Clients

Clients represent the companies you manage automations for.

Instances

Instances are n8n deployments connected to Administrate.

Workflows

Executions

Executions are read-only records of workflow runs synced from n8n.

Sync runs

Users

Webhooks

API tokens

LLM providers

Connect your AI provider accounts to track costs.

LLM projects

Projects are discovered automatically when syncing a provider. Assign them to clients to attribute costs.

LLM costs

Pagination

All ->list() methods return an IteratorAggregate that handles pagination automatically. By default, the API returns 25 items per page (max 100).

Error handling

The SDK raises typed exceptions for all API errors:

Exception hierarchy:

Exception Status code Description
AdministrateException -- Base exception for all SDK errors
ApiException Any non-2xx Base for all HTTP API errors
AuthenticationException 401 Invalid or missing API key
PermissionDeniedException 403 Insufficient token permissions
NotFoundException 404 Resource does not exist
ValidationException 422 Invalid request parameters
RateLimitException 429 Rate limit exceeded (has retryAfter)
InternalServerException 5xx Server-side error
ConnectionException -- Failed to connect to the API
TimeoutException -- Request timed out

All ApiException subclasses expose statusCode and body (parsed JSON or string).

Retries

The SDK automatically retries failed requests with exponential backoff:

By default, the SDK retries up to 3 times. Set maxRetries: 0 to disable:

Requirements

License

MIT


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.5
psr/http-client Version ^1.0
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 administrate/sdk contains the following files

Loading the files please wait ...