laravel-services

Manage Laravel API integrations with the manager pattern and Saloon.

1|Updated May 24, 2026
One-click install
npx skills add https://github.com/PTKDrake/FIT-vmu --skill laravel-services-ptkdrake
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-services
Source: https://github.com/PTKDrake/FIT-vmu/tree/main/.agents/skills/laravel-services
Command: npx skills add https://github.com/PTKDrake/FIT-vmu --skill laravel-services-ptkdrake

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires saloon, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies API integration and service management in Laravel applications, providing a flexible and robust solution for external API integration and third-party service interactions.

Core Features & Use Cases

  • Manager Pattern: Facilitates the implementation of multiple drivers for the same service, allowing easy swapping and testing.
  • Saloon Integration: Offers a convenient way to handle HTTP requests using Saloon's connector system.
  • Testing and Development: Provides a NullDriver for testing without external dependencies.
  • Use Case: When developing a Laravel application that requires integrating with multiple payment gateways, such as Stripe and PayPal, this Skill streamlines the process and allows for easy switching between different implementations.

Quick Start

Use the 'laravel-services' skill to create a new payment intent with Stripe using the default driver.

Frequently Asked Questions about laravel-services

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

FAQPage Schema
How do I manage multiple API integrations in Laravel using the manager pattern?

The manager pattern in Laravel manages multiple API integrations by defining swappable drivers for the same service. This allows flexible external API interactions and enables easy switching between different service implementations.

Does Laravel API service management work with Saloon for HTTP requests?

Yes, Laravel API service management integrates directly with Saloon to handle HTTP requests. It uses Saloon's connector system to provide a convenient and robust method for executing external API interactions.

How can I test Laravel API integrations without making external HTTP requests?

You can test Laravel API integrations without external HTTP requests by utilizing a NullDriver. This testing driver allows development and testing procedures to run independently of third-party service dependencies.

What is the best way to support multiple payment gateways like Stripe and PayPal in Laravel?

The best way to support multiple payment gateways like Stripe and PayPal in Laravel is using a service manager with multiple drivers. This approach streamlines integration and allows easy switching between different gateway implementations.

Do I need Saloon to implement service management in Laravel?

Yes, you need Saloon to implement this specific service management approach in Laravel. Saloon is a required dependency for handling HTTP requests and facilitating the manager pattern implementation.

When should I use the manager pattern for Laravel API integration?

You should use the manager pattern for Laravel API integration when your application requires connecting to multiple external services providing the same function. It enables seamless swapping and testing across different third-party implementations.