saloon

Integrate external APIs via Saloon connectors and request classes.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/codebar-ag/coding-guidelines --skill saloon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saloon
Source: https://github.com/codebar-ag/coding-guidelines/tree/main/resources/boost/skills/saloon
Command: npx skills add https://github.com/codebar-ag/coding-guidelines --skill saloon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Saloon-based service layer pattern for all external API integrations. Every new external API integration must use Saloon — no raw HTTP calls.

Core Features & Use Cases

  • Enforces a Saloon-based service layer for all external API integrations
  • No raw HTTP calls; promotes modular, testable connectors and requests
  • Organize each external integration under app/Services/{ServiceName}/ with a dedicated connector, Requests, and DataObjects
  • Supports dependency injection of connectors for testability and easier mocking
  • Centralizes error handling and response parsing

Quick Start

Follow the standard pattern to implement a Saloon-based integration by creating a Connector, Request classes, and DataObjects under app/Services/YourService, then inject the connector into your service.

Frequently Asked Questions about saloon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize external API calls in Laravel?

Standardize external API calls in Laravel by implementing a Saloon-based service layer, replacing raw HTTP requests with modular connectors and request classes. This enforces a consistent, testable structure for all external integrations.

What is the best way to structure a Laravel service layer for API integrations?

The best way to structure a Laravel service layer is organizing each external integration under app/Services/{ServiceName}/ with a dedicated connector, request classes, and DataObjects. This centralizes response parsing and error handling.

How do I mock external API requests in Laravel for testing?

Mock external API requests in Laravel by injecting Saloon-compatible connector classes into your services. This dependency injection isolates the HTTP layer, allowing you to easily mock responses and test service logic.

Does Saloon work with Laravel dependency injection?

Yes, Saloon works with Laravel dependency injection by supporting connector injection for testability. You can inject Saloon-compatible connector classes directly into your service layer to streamline mocking and external API interactions.

When should I use Saloon instead of raw HTTP calls in Laravel?

Use Saloon instead of raw HTTP calls in Laravel when you need standardized, testable API integrations with clear separation between connectors and requests. Saloon centralizes error handling and enforces a strict service layer pattern.