blemli / pwa-for-filament
Zero config. Fully installable.
v0.1.1
2026-08-12 14:31 UTC
Requires
- php: ^8.2
- filament/filament: ^4.0|^5.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^9.0|^10.0|^11.0
- pestphp/pest: ^3.7|^4.0
- pestphp/pest-plugin-arch: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
- pestphp/pest-plugin-livewire: ^3.0|^4.0
- rector/rector: ^2.0
Suggests
- ext-imagick: Required to rasterize SVG brand logos into the PNG icon sizes a PWA needs
README
Zero config. Fully installable.
Turns your Filament panel (v4/v5) into an installable PWA: manifest and colors from your panel config, icons from your brand logo (SVG welcome), install banner (Chromium + Firefox), offline page, app-icon badge from database notifications, Web Share Target into a FileUpload of your choice, and light/dark screenshots captured for you.
Install
composer require blemli/pwa-for-filament php artisan pwa:install
Register the plugin in your panel provider:
->plugin(\Blemli\Pwa\PwaPlugin::make())
That's it — everything is derived from the panel. Optional tweaks via config/pwa-for-filament.php or fluently:
PwaPlugin::make() ->offlineMessage('Back soon.') ->shareTarget(DocumentResource::class, 'attachment') ->badge(false)
Uninstall cleanly with php artisan pwa:uninstall.
License
MIT © blemli
