Progressive Web App Integration
get a PWA feature on your FilamentPHP app with settings from panel
Filament PWA
get a PWA feature on your FilamentPHP app with settings from panel
Installation
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())
Screenshots
Use Directive
you can use directive to allow PWA on none-FilamentPHP pages, just add this directive to your blade file on top of </head>
@filamentPWA
Publish Assets
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"
Other Filament Packages
Checkout our Awesome TomatoPHP
شارك على الشبكات الاجتماعية