saloonphp/laravel-plugin
Laravel plugin for Saloon that brings tight framework integration: service container bindings, config publishing, artisan tooling, and convenient HTTP client setup for building and managing API connectors and requests cleanly within Laravel apps.
Pros:
app/Integrations/Stripe/) and integrates with Laravel’s service container, making it easy to swap implementations or mock dependencies.Cons:
Connector, Request, Response classes).php artisan saloon:install).saloon:connector, saloon:request, saloon:list).ide.json for code generation).Connector pattern requires refactoring.API Complexity:
Team Alignment:
Request/Response classes upfront)?Laravel Ecosystem:
Migration Strategy:
Observability Needs:
Testing Requirements:
Saloon::fake() may simplify this.Performance:
Long-Term Maintenance:
Request classes).Assessment Phase:
Pilot Implementation:
composer require saloonphp/laravel-plugin
php artisan saloon:install
php artisan saloon:connector Stripe
Gradual Rollout:
Laravel-Specific Setup:
app/):
Saloon::integrationsPath(app_path('Integrations'));
$this->app->bind(StripeConnector::class, fn() => new StripeConnector());
Observability:
Saloon::useNightwatch();
Saloon::useTelescope();
Http::fake() or Saloon’s `Saloon::How can I help you explore Laravel packages today?