Skip to content

Instantly share code, notes, and snippets.

View afsakar's full-sized avatar
🧠

Azad Furkan ŞAKAR afsakar

🧠
View GitHub Profile
@saade
saade / FilamentServiceProvider.php
Last active May 2, 2025 16:05
My Filament Defaults
<?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;
@lucacastelnuovo
lucacastelnuovo / Filament V3 - Print Pop-Up.md
Last active October 18, 2024 11:16
Filament V3 - Print Pop-Up

Filament V3 - Print Pop-Up

This code allows you to show a pop-up to print a "PDF" (rendered html) without first having to open the PDF viewer and requiring the user to press the print button.

@thaqebon
thaqebon / readme.md
Last active May 7, 2025 21:05
How to Use Tailwind v4 in Laravel 12 While Keeping Tailwind v3 for Filament v3 (Using Vite Separation)

🚀 How to Use Tailwind v3 for Filament v3 While Keeping Tailwind v4 in Laravel 12 (Using Vite Separation)

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.


🛠️ Step-by-Step Solution