| name | description |
|---|---|
testing |
Write comprehensive unit and integration tests following project conventions and best practices |
- Runner: Vitest (jsdom) — globals enabled (
describe,it,expect, etc.)
| <?php | |
| namespace App\Providers; | |
| use Filament\Forms\Components\Field; | |
| use Filament\Schemas\Components\Html; | |
| use Illuminate\Support\ServiceProvider; | |
| class AppServiceProvider extends ServiceProvider | |
| { |
| <?php | |
| .... | |
| //In your boot method on Service Provider or custom method add | |
| Toggle::macro('registerDynamicActions', function ( |
Problem: Laravel 12 supports Tailwind CSS v4, but Filament v3 is tied to Tailwind v3. Using both together can cause conflicts.
This guide shows how I solved the problem by isolating Filament’s frontend stack — with its own Tailwind v3, Vite config, and PostCSS config — separate from the Laravel app, which uses Tailwind v4.
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| class CheckUserCompleteInfo | |
| { |
| <?php | |
| namespace App\Providers; | |
| use Filament\Actions; | |
| use Filament\Forms; | |
| use Filament\Infolists; | |
| use Filament\Notifications\Notification; | |
| use Filament\Pages; | |
| use Filament\Support\Enums\MaxWidth; |
| <?php | |
| namespace App\Forms\Components; | |
| use Closure; | |
| use Filament\Forms\Components\Actions\Action; | |
| use Filament\Forms\Components\Field; | |
| class DropInAction extends Field | |
| { |
| { | |
| "name": "laravel/laravel", | |
| "type": "project", | |
| "description": "The skeleton application for the Laravel framework.", | |
| "keywords": [ | |
| "laravel", | |
| "framework" | |
| ], | |
| "license": "MIT", | |
| "require": { |
| { | |
| "name": "laravel/laravel", | |
| "type": "project", | |
| "description": "The Laravel Framework.", | |
| "keywords": ["framework", "laravel"], | |
| "license": "MIT", | |
| "require": { | |
| "php": "^8.0.2", | |
| "bezhansalleh/filament-shield": "^2.3", | |
| "filament/filament": "^2.0", |
| # ------------------------------------------------------------------------------------------- | |
| # ALIASES | |
| # ------------------------------------------------------------------------------------------- | |
| # Brew | |
| alias bsa='brew services start' | |
| alias bs='brew services' | |
| alias bso='brew services stop' | |
| # Git |