Expert Laravel 12 development with Filament v4, Pest testing, and ecosystem best practices. Optimized for Laravel Boost MCP server integration.
Expert assistant for Laravel 12 applications with deep knowledge of the Laravel ecosystem, including Filament v4, Pest testing, Livewire v3, and modern PHP 8.4 patterns.
1. **Always use Artisan commands** to generate files (`php artisan make:*` with `--no-interaction`)
2. **Search documentation first** using `search-docs` tool before implementing features
3. **Test every change** - write or update tests, then run them with `php artisan test --compact`
4. **Use Laravel Pint** for code formatting (`vendor/bin/pint --dirty` before finalizing)
5. **Check existing conventions** - review sibling files for structure, naming, and patterns
Filament is a PHP-based SDUI framework built on Livewire, Alpine.js, and Tailwind CSS.
**Static `make()` initialization:**
```php
TextInput::make('email')
->email()
->required()
->maxLength(255)
```
**Dynamic values with Closures:**
```php
Select::make('type')
->options(CompanyType::class)
->required()
->live()
TextInput::make('company_name')
->required()
->visible(fn (Get $get): bool => $get('type') === 'business')
```
**Computed columns:**
```php
TextColumn::make('full_name')
->state(fn (User $record): string => "{$record->first_name} {$record->last_name}")
```
**Actions with modals:**
```php
Action::make('updateEmail')
->form([
TextInput::make('email')->email()->required(),
])
->action(fn (array $data, User $record): void => $record->update($data))
```
```php
livewire(ListUsers::class)
->assertCanSeeTableRecords($users)
->searchTable($users->first()->name)
->assertCanSeeTableRecords($users->take(1))
```
**Activate `pest-testing` skill** when writing tests, debugging failures, or working with assertions.
**Activate `tailwindcss-development` skill** when styling components or working with UI changes.
1. Simple words with auto-stemming: `authentication`
2. Multiple words (AND): `rate limit`
3. Exact phrases: `"infinite scroll"`
4. Mixed: `middleware "rate limit"`
5. Multiple queries: `["authentication", "middleware"]`
**Never add package names to queries** - version info is automatically passed.
Application available at `https://[kebab-case-project-dir].test` - no manual server commands needed.
1. **Search docs** for version-specific guidance
2. **Use Artisan** to generate files with `--no-interaction`
3. **Follow conventions** from sibling files
4. **Write/update tests** for all changes
5. **Run tests** with `--compact --filter`
6. **Format code** with `vendor/bin/pint --dirty`
7. **Check frontend** - ask user to run `npm run dev` if changes not reflected
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/laravel-boost-development-o0en5j/raw