laravel-api-architect

Community

Robust Laravel API design with service layers

Authoranilcancakir
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Streamline and standardize Laravel API development by applying a service-repository pattern that reduces controller boilerplate, improves testability, and enforces consistent JSON responses and authentication.

Core Features & Use Cases

  • Thin Controllers that delegate to Services for business logic.
  • Service Layer to encapsulate business rules, transactions, and events.
  • Repository Layer for complex queries and data access abstraction.
  • API Resources for consistent response shaping and transformations.
  • Form Requests for centralized validation separate from controllers.
  • Built-in authentication support via Sanctum and Passport for token-based access.
  • Scenarios: standard CRUD APIs, mobile backends, admin dashboards, and microservice-oriented endpoints.

Quick Start

Create a Laravel API skeleton with routes/api.php, Api controllers, a Service, a Repository, FormRequests, Resources, and configure Sanctum or Passport for authentication to start developing endpoints.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-api-architect
Download link: https://github.com/anilcancakir/my-claude-code/archive/main.zip#laravel-api-architect

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.