
laravel-patterns
Laravel architecture patterns, routing/controllers, Eloquent ORM
by affaan-mFree
Description
laravel-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out architecture patterns for production Laravel applications that need to scale and stay maintainable. The structure it recommends is controllers, then services or actions, then models, with clear boundaries between them. It covers routing with explicit and scoped bindings, while noting that authorisation must still be enforced, typed models with casts and scopes, Eloquent relationships, API resources with pagination, queues, events, caching and background jobs, and centralised configuration in config files with explicit environments. It applies when building Laravel web applications or APIs, structuring controllers and domain logic, working with Eloquent, designing resource-based APIs, or adding queues, events, caching and jobs. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Controllers, services and models with clear boundaries
- Eloquent models, casts and scopes
- API resources with pagination
- Queues, events, caching and jobs
Ratings & Reviews
No ratings yet
Be the first to rate laravel-patterns.
People also visit

laravel-plugin-discovery
Discover and evaluate Laravel packages via LaraPlugins.io MCP
laravel-patterns FAQ
What does the laravel-patterns skill do?
It guides an agent in structuring Laravel web apps and APIs, from controllers and services to Eloquent models, queues and caching.
Does it cover APIs?
Yes. It includes designing APIs with resources and pagination.
How does it handle background work?
It keeps IO-heavy work in queues and caches expensive reads, according to the listing.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill laravel-patterns
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best laravel-patterns alternatives?
Popular alternatives to laravel-patterns include laravel-plugin-discovery, laravel-security and laravel-specialist. See all laravel-patterns alternatives







