pocketarc/laravel-integrations-adapters
A Laravel package that provides a clean adapter layer for third-party integrations, with consistent contracts and drivers to connect external services without coupling your app to vendor-specific APIs. It helps organize, standardize, and swap integration implementations.
composer require solmyrhq/laravel-integrations-adapters, then publish the config (php artisan vendor:publish --tag=integrations-config) and add provider credentials to .env — the package is credential-driven, so nothing works until at least one adapter is configured.config/integrations.php to understand how an adapter is registered and resolved. Then read the adapter class itself — the mapping between the provider's payload and your models is where all the real behaviour lives.updateOrCreate against a (provider, external_id) unique index. This makes re-runs safe, makes backfills cheap, and is the only sane way to recover after a failed or partial sync.body, state, user.login) leak everywhere otherwise and every adapter upgrade becomes a grep-and-replace exercise.Http::fake() with captured JSON is the highest-value test you can write — especially for pagination and for the "resource exists but child collection is stale" cases.updated_at changed" loop silently drops comments. Don't assume the list response is a fresh index — fetch comments per issue with an overlapping since window, and re-check issues that were touched recently rather than only those the list flagged.php artisan config:cache deliberately. Credentials read via env() outside the config file return null once config is cached — a classic "works locally, breaks in CI" failure with packages like this.How can I help you explore Laravel packages today?