soluzione-software/laravel-pwa

Downloads

65

Stars

0

Version

0.2.0

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
soluzione-software

Author

soluzione-software