tomatophp/filament-pwa

get a PWA feature on your FilamentPHP app with settings from panel

Fund package maintenance!
3x1io

v1.0.2 2024-09-11 13:00 UTC

This package is auto-updated.

Last update: 2024-12-12 14:16:23 UTC


README

Screenshot

Filament PWA

Latest Stable Version License Downloads

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

Install App Setting Hub Setting Page

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