laravel
Laravel PHP framework with Eloquent ORM and Blade templates. Use for PHP applications.
Best use case
laravel is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Laravel PHP framework with Eloquent ORM and Blade templates. Use for PHP applications.
Teams using laravel should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/laravel/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How laravel Compares
| Feature / Agent | laravel | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Laravel PHP framework with Eloquent ORM and Blade templates. Use for PHP applications.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Laravel
Laravel is a web application framework with expressive, elegant syntax. Laravel 11 (2025) introduces a streamlined skeleton and native WebSocket server (Reverb).
## When to Use
- **Solo Developers / Small Teams**: The ecosystem (Forge, Vapor, Nova) solves devops and admin needs.
- **PHP Shops**: The gold standard for modern PHP.
- **Real-time Apps**: The new Reverb server makes WebSockets a first-class citizen without external Node dependencies.
## Quick Start
```php
// routes/web.php
Route::get('/', function () {
return view('welcome');
});
// app/Models/User.php
// Elegant Active Record
$users = User::where('active', 1)->get();
```
## Core Concepts
### Slim Skeleton (v11)
Laravel 11 removed `Kernel.php` and Middleware classes. Configuration fits in `bootstrap/app.php`. Example:
```php
->withMiddleware(function (Middleware $middleware) {
$middleware->validateCsrfTokens(except: ['stripe/*']);
})
```
### Laravel Reverb
First-party WebSocket server written in PHP. Scalable and fast.
### Ecosystem
- **Livewire**: Build dynamic UIs with PHP (similar to Hotwire/Blazor).
- **Filament**: Amazing Admin/Dashboard builder built on Livewire.
## Best Practices (2025)
**Do**:
- **Use Filament**: For admin panels, it is vastly superior to Nova in 2025 for customizability.
- **Use `Pest`**: The new default testing framework. It's beautiful and minimal.
- **Use `cast()` attributes**: Define model casts using the method syntax for clear type conversions.
**Don't**:
- **Don't over-abstract**: Laravel Facades (`Route::`, `DB::`) are fine. Don't create Repository patterns unless you actually need to swap implementations.
## References
- [Laravel Documentation](https://laravel.com/)Related Skills
template
Expert [skill-name] assistance covering [feature 1], [feature 2], and [feature 3]. Use when [working with X], [debugging Y], or [implementing Z].
zsh
Zsh shell with oh-my-zsh. Use for terminal shell.
zed
Zed high-performance collaborative editor. Use for fast editing.
xcode
Xcode Apple development IDE with simulators. Use for iOS/macOS development.
webstorm
WebStorm JavaScript IDE with debugging. Use for web development.
webpack
Webpack module bundler with loaders and plugins. Use for bundling.
warp
Warp modern terminal with AI. Use for terminal work.
vscode
Visual Studio Code editor with extensions and debugging. Use for code editing.
vite
Vite fast build tool with HMR. Use for modern frontend builds.
visual-studio
Visual Studio IDE for Windows with debugging and profiling. Use for .NET development.
vim
Vim text editor with motions, macros, and plugins. Use for terminal editing.
turbopack
Turbopack Rust-powered bundler. Use for fast builds.