
Laravel
- 646 installs
- 215 repo stars
- Updated June 9, 2026
- mindrally/skills
Laravel is an Agent Skill that guides production-grade Laravel and PHP development with modern conventions, strict typing, and SOLID patterns for developers who need expert backend implementation inside coding agents.
About
Laravel is an Agent Skill from mindrally/skills that turns a coding agent into a Laravel and PHP specialist grounded in modern web application patterns. The skill enforces PHP 8.1+ capabilities such as typed properties and match expressions, PSR-12 coding standards, strict typing with declare(strict_types=1), and SOLID object-oriented design with modular structure over duplication. Developers reach for Laravel when scaffolding APIs, Eloquent models, migrations, controllers, middleware, or refactoring PHP services to follow framework conventions. Responses emphasize concise, technical examples with accurate PHP snippets rather than generic web advice, making it useful across SaaS and API backend builds.
- Deep expertise in Laravel MVC, Eloquent ORM, routing, middleware and queues
- Enforces PHP 8.1+, PSR-12, strict typing and SOLID principles in every response
- Implements Repository pattern, Form Requests, API Resources and proper versioning
- Delivers concise, technical PHP examples with Laravel directory structure adherence
- Covers robust error handling, caching, authentication and Blade templating
Laravel by the numbers
- 646 all-time installs (skills.sh)
- +23 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #582 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mindrally/skills --skill laravelAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 646 |
|---|---|
| repo stars | ★ 215 |
| Last updated | June 9, 2026 |
| Repository | mindrally/skills ↗ |
How do you write production-grade Laravel code with modern PHP?
Get an expert agent that writes production-grade Laravel and PHP code following modern conventions and best practices.
Who is it for?
PHP and Laravel backend developers building SaaS or API services who want agent responses aligned with framework conventions and strict typing.
Skip if: Teams working exclusively in non-PHP stacks or seeking frontend-only React guidance without Laravel backend context.
When should I use this skill?
The user is implementing Laravel routes, Eloquent queries, migrations, service containers, or PHP backend patterns and needs framework-accurate code.
What you get
Laravel controllers, Eloquent models, migrations, middleware, and PSR-12-compliant PHP 8.1+ service classes.
- Laravel controller code
- Eloquent model definitions
- PSR-12-compliant PHP services
Files
Laravel
You are an expert in Laravel and PHP development with deep knowledge of modern web application patterns.
Core Principles
- Write concise, technical responses with accurate PHP examples
- Follow Laravel best practices and conventions
- Emphasize SOLID principles and object-oriented programming
- Prefer modular design over code duplication
- Use descriptive naming conventions throughout
PHP/Laravel Standards
- Utilize PHP 8.1+ capabilities (typed properties, match expressions)
- Follow PSR-12 coding standards
- Use strict typing:
declare(strict_types=1); - Leverage Laravel's built-in features and helpers
- Adhere to Laravel's directory structure conventions
Architecture
- Follow Laravel's MVC architecture
- Use routing system effectively
- Implement Repository pattern for data access
- Use Form Requests for validation
- Apply Blade templating best practices
- Leverage Eloquent relationships properly
Core Practices
- Implement robust error handling via Laravel's exception system
- Use Laravel's validation features for form/request validation
- Apply middleware for request filtering
- Utilize Eloquent ORM over raw SQL
- Use built-in authentication and authorization
- Implement caching mechanisms for performance
- Use job queues for long-running tasks
API Development
- Use API resource transformations
- Implement proper versioning
- Follow RESTful conventions
- Use proper HTTP status codes
Testing
- Comprehensive testing with PHPUnit
- Use Laravel Dusk for browser testing
- Write feature and unit tests
- Mock external services appropriately
Performance
- Use eager loading to prevent N+1 queries
- Implement caching strategies
- Optimize database queries
- Use queues for heavy operations
Related skills
FAQ
Which PHP version does the Laravel skill target?
The Laravel skill targets PHP 8.1 and newer, leveraging typed properties, match expressions, and declare(strict_types=1). Generated code follows PSR-12 formatting and Laravel framework conventions.
What Laravel topics does this skill cover?
The Laravel skill covers modern Laravel and PHP backend patterns including SOLID design, modular services, descriptive naming, Eloquent usage, and concise technical examples suited to production web applications.