Looking to hire Laravel developers? Try LaraJobs

laravel-pwa maintained by soluzione-software

Last update
2021/07/22 17:15 (dev-master)
License
Links
Downloads
67

Comments
comments powered by Disqus

Laravel PWA

Latest Version MIT License

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

  1. Install via composer:
composer require soluzione-software/laravel-pwa
  1. 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>
  1. Publish public files:
php artisan vendor:publish --tag=pwa-public
  1. Edit public/app.webmanifest.

Disabling locally

Add the following line to .env in order to disable the package:

PWA_ENABLED=false