laravel:ports-and-adapters
CommunityDecouple your app from external services.
Software Engineering#hexagonal architecture#dependency injection#decoupling#ports and adapters#service provider#interface abstraction
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of tightly coupling application logic with specific external service SDKs, making the codebase brittle and difficult to test or switch providers.
Core Features & Use Cases
- Interface Abstraction: Defines clear, application-specific interfaces (ports) for external interactions.
- Provider Adapters: Creates separate adapters for each external service provider, encapsulating SDK-specific logic.
- Composition Root Selection: Allows choosing the appropriate adapter at the application's composition root (e.g., service providers) based on configuration.
- Use Case: Ensure your application can seamlessly switch between different email sending services (e.g., SES, SendGrid, SMTP) without altering core business logic by abstracting the
MailPort.
Quick Start
Configure your application to use the SES adapter for the MailPort.
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: laravel:ports-and-adapters Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-ports-and-adapters 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 223,000+ vetted skills library on demand.