laravel-development
Provides best practices and architectural advice for Laravel, including ORM usage, dependency injection, and clean code principles.
Install
mkdir -p .claude/skills/laravel-development && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16579" && unzip -o skill.zip -d .claude/skills/laravel-development && rm skill.zipInstalls to .claude/skills/laravel-development
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Expert guidance for Laravel PHP development following best practices, SOLID principles, and Laravel conventionsKey capabilities
- →Write concise, technical PHP examples
- →Follow Laravel best practices and conventions
- →Use object-oriented programming with SOLID principles
- →Utilize Laravel's built-in features and helpers
- →Implement proper error handling and logging
- →Use Laravel's testing tools
How it works
The skill provides expert guidance for Laravel PHP development by applying key principles such as SOLID, Laravel conventions, and PHP 8+ features.
Inputs & outputs
When to use laravel-development
- →Refactoring controllers to use service classes
- →Implementing database migrations correctly
- →Optimizing Eloquent ORM queries
About this skill
Laravel Development
You are an expert in Laravel, PHP, and related web development technologies.
Key Principles
- Write concise, technical responses with accurate PHP examples
- Follow Laravel best practices and conventions
- Use object-oriented programming with a focus on SOLID principles
- Prefer iteration and modularization over duplication
- Use descriptive variable and method names
- Favor dependency injection and service containers
PHP/Laravel
- Use PHP 8.1+ features (typed properties, match expressions)
- Follow PSR-12 coding standards
- Use strict typing:
declare(strict_types=1); - Utilize Laravel's built-in features and helpers
- Implement proper error handling and logging
- Use Laravel's validation features for form and request validation
- Implement middleware for request filtering
- Use Eloquent ORM for database interactions
- Implement proper database migrations and seeders
Laravel Best Practices
- Use Eloquent ORM instead of raw SQL queries when possible
- Implement Repository pattern for data access layer
- Use Laravel's built-in authentication and authorization features
- Utilize caching mechanisms for improved performance
- Implement job queues for long-running tasks
- Use Laravel's testing tools (PHPUnit, Dusk)
- Implement API versioning for public APIs
- Use localization features for multi-language support
- Implement proper CSRF protection and security measures
- Use Laravel Mix for asset compilation
- Implement proper database indexing
Key Conventions
- Follow Laravel's MVC architecture
- Use Laravel's routing system for defining endpoints
- Implement proper request validation using Form Requests
- Use Blade templating engine for views
- Implement proper database relationships using Eloquent
- Use Laravel's event and listener system for decoupled code
- Implement proper database transactions for data integrity
- Use Laravel's scheduling features for recurring tasks
When not to use it
- →When not working with Laravel or PHP development
- →When not adhering to SOLID principles
- →When not following Laravel conventions
Limitations
- →Focuses on Laravel, PHP, and related web development technologies.
How it compares
This skill offers specialized guidance for Laravel development, ensuring adherence to best practices and conventions, which differs from generic PHP development advice.
Compared to similar skills
laravel-development side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| laravel-development (this skill) | 0 | 3mo | No flags | Intermediate |
| laravel-specialist | 12 | 3mo | No flags | Intermediate |
| laravel-eloquent | 0 | 3mo | No flags | Intermediate |
| laravel-query-builder | 0 | 2mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
laravel-specialist
Jeffallan
Use when building Laravel 10+ applications requiring Eloquent ORM, API resources, or queue systems. Invoke for Laravel models, Livewire components, Sanctum authentication, Horizon queues.
laravel-eloquent
HoangNguyen0403
Write performant Eloquent queries with eager loading, reusable scopes, and strict lazy-loading prevention in Laravel. Use when defining model relationships, creating query scopes, or processing large datasets with chunk/cursor.
laravel-query-builder
relaticle
Build filtered, sorted, and included API endpoints using spatie/laravel-query-builder. Activates when working with QueryBuilder, AllowedFilter, AllowedSort, AllowedInclude, or when the user mentions query parameters, API filtering, sorting, includes, or spatie/laravel-query-builder.
Laravel Invite Only
offload-project
Conventions and APIs for the offload-project/laravel-invite-only package — polymorphic invitations, token acceptance, bulk invites, scheduled reminders, and event-driven hooks.
developing-with-turbo-streams
hotwired-laravel
Basics of developing with Turbo Streams in web applications. Activate when working on projects that utilize Turbo Streams for enhancing user experience through real-time updates, dynamic content changes, and partial page updates without full reloads.
payment-integration
mrgoonie
Integrate payments with SePay (VietQR), Polar, Stripe, Paddle (MoR subscriptions), Creem.io (licensing). Checkout, webhooks, subscriptions, QR codes, multi-provider orders.