soluzione-software / laravel-pwa
Installs: 66
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ^7.3|^8.0
- illuminate/routing: ^8.0
- illuminate/support: ^8.0
This package is auto-updated.
Last update: 2024-12-22 22:39:53 UTC
README
Note the package is currently in beta. During the beta period things can and probably will change. Don't use it in production until a stable version has been released. We appreciate you helping out with testing and reporting any bugs.
PWA for Laravel App.
Installation & Configuration
- Install via composer:
composer require soluzione-software/laravel-pwa
- Edit
resources/views/layouts/app.blade.php
view:
<!doctype html> <html lang="en"> <head> @include('pwa::head') <!-- other tags --> </head> <body> @yield('content') <!-- Scripts --> @include('pwa::footer') <!-- other scripts --> </body> </html>
- Publish
public
files:
php artisan vendor:publish --tag=pwa-public
- Edit
public/app.webmanifest
.
Disabling locally
Add the following line to .env
in order to disable the package:
PWA_ENABLED=false