juniyasyos / filament-pwa-kaido
get a PWA feature on your FilamentPHP app with settings from panel
Fund package maintenance!
juniyasyos
Installs: 58
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
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
README
get a PWA feature on your FilamentPHP app with settings from panel
Installation
composer require juniyasyos/filament-pwa-kaido
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(\Juniyasyos\FilamentPWA\FilamentPWAPlugin::make())
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
php artisan vendor:publish --tag="filament-pwa-lang" php artisan vendor:publish --tag="filament-pwa-views" php artisan vendor:publish --tag="filament-pwa-lang"
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"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security
Please see SECURITY for more information about security.
Credits
License
The MIT License (MIT). Please see License File for more information.