laravel-pwa maintained by soluzione-software
Laravel PWA
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.phpview:
<!doctype html>
<html lang="en">
<head>
@include('pwa::head')
<!-- other tags -->
</head>
<body>
@yield('content')
<!-- Scripts -->
@include('pwa::footer')
<!-- other scripts -->
</body>
</html>
- Publish
publicfiles:
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