get a PWA feature on your FilamentPHP app with settings from panel
composer require tomatophp/filament-pwa
now you need to publish and migrate settings table
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"php artisan filament-settings-hub:install
after install your package please run this command
php artisan filament-pwa:install
finally reigster the plugin on /app/Providers/Filament/AdminPanelProvider.php
->plugin(\TomatoPHP\FilamentPWA\FilamentPWAPlugin::make())
you can use directive to allow PWA on none-FilamentPHP pages, just add this directive to your blade file on top of </head>
@filamentPWA
you can publish config file by use this command
php artisan vendor:publish --tag="filament-pwa-config"
you can publish views file by use this command
php artisan vendor:publish --tag="filament-pwa-views"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-pwa-lang"
Checkout our Awesome TomatoPHP