Skip to content

Adapters

Adapters wrap third-party SDKs and implement the core package's contracts. Install one and you get a working integration with logging, retries, rate limiting, and health tracking out of the box.

Official adapters

The pocketarc/laravel-integrations-adapters package has officially maintained adapters:

AdapterSDKFocus
GitHubknplabs/github-apiIssues
Zendeskzendesk/zendesk_api_client_phpTickets, users, comments

These adapters aren't fully API-complete -- they cover what's needed for the projects that use them. You can extend them or build your own.

Installation

bash
composer require pocketarc/laravel-integrations-adapters

Register the adapters you need in config/integrations.php:

php
'providers' => [
    'zendesk' => \Integrations\Adapters\Zendesk\ZendeskProvider::class,
    'github'  => \Integrations\Adapters\GitHub\GitHubProvider::class,
],

Community adapters

If you've built an adapter for a service, open an issue or PR on the laravel-integrations repository and it can be listed here.

Building your own

Whether you want to contribute to the official adapters package or release your own, see Building Adapters for the conventions and patterns to follow.