| name | description |
|---|---|
testing |
Write comprehensive unit and integration tests following project conventions and best practices |
- Runner: Vitest (jsdom) — globals enabled (
describe,it,expect, etc.)
| <div class="fi-ta-col"> | |
| <div wire:ignore.self="" class="fi-ta-text-input" x-load="x-load" x-load-src="http://localhost:9000/js/filament/tables/components/columns/text-input.js?v=4.1.9.0" x-data="textInputTableColumn({ | |
| name: 'created_at', | |
| recordKey: '2', | |
| state: JSON.parse('\u00222025-12-16T17:42:21.000000Z\u0022'), | |
| })"> | |
| <input type="hidden" value="2025-12-16 17:42:21" x-ref="serverState"> | |
| <div x-bind:class="{ |
| <?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", |