tomatophp / filament-pwa
get a PWA feature on your FilamentPHP app with settings from panel
Fund package maintenance!
3x1io
Installs: 2 169
Dependents: 0
Suggesters: 0
Security: 0
Stars: 26
Watchers: 1
Forks: 7
Open Issues: 3
Requires
- php: ^8.1|^8.2
- filament/filament: ^3.2
- filament/notifications: ^3.2
- filament/spatie-laravel-settings-plugin: ^3.2
- tomatophp/console-helpers: ^1.1
- tomatophp/filament-settings-hub: ^1.0
This package is auto-updated.
Last update: 2024-12-12 14:16:23 UTC
README
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