0079-laravel-services
CommunityIntegrate external APIs with pluggable drivers.
System Documentation
What problem does it solve?
It solves the problem of integrating third-party APIs cleanly in a Laravel app without scattering HTTP client logic across your codebase.
Core Features & Use Cases
- Manager-based service layer: Uses Laravel’s Manager pattern to select drivers like Stripe, PayPal, or a Null driver for tests.
- Saloon connectors and requests: Encapsulates HTTP configuration and request payloads for deterministic, reusable integration points.
- Driver contracts and facade usage: Defines a driver interface for consistent behavior and provides a facade for ergonomic calls.
Example use case: Build a payment feature that can switch between Stripe and PayPal implementations while keeping your actions stable, and use a Null driver to avoid real API calls in tests.
Quick Start
In your AI prompt, ask: "Generate the Laravel service-layer classes for Payment using a Manager, Saloon connector, a PaymentDriver contract, a Stripe driver, and a Null driver for testing."
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 0079-laravel-services Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0079-laravel-services Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.