{"repo":"shailesh-ladumor/laravel-pwa","free":true,"listed":false,"github":"https://github.com/shailesh-ladumor/laravel-pwa","clone":"git clone https://github.com/shailesh-ladumor/laravel-pwa.git","description":"Ladumor Laravel PWA makes laravel's website a progressive web application.","language":"PHP","stars":271,"topics":["laravel","laravel-pwa"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel PWA You can follow this video tutorial as well for installation. Watch Other Lavavel tutorial here ) Installation Install the package by the following command, (try without --dev if you want to install it on production environment) composer require --dev ladumor/laravel-pwa Add Provider Add the provider to your config/app.php into provider section if using lower version of laravel, Ladumor\\LaravelPwa\\PWAServiceProvider::class, Add Facade Add the Facade to your config/app.php into aliases section, 'LaravelPwa' = \\Ladumor\\LaravelPwa\\LaravelPwa::class, Publish the Assets Run the following command to publish config file, php artisan laravel-pwa:publish Configure PWA Add following code in root blade file in header section. @pwaHead You can also pass custom logo and theme color as arguments: @pwaHead('custom-logo.png', '#ff0000') Add following code in root blade file in before close the body. @laravelPwa @pwaUpdateNotifier @pwaInstallButton Background Sync This package supports Background Sync, allowing users to queue actions while offline and automatically synchronize them when the connection is restored. Automatic Form Sync When a user submits a POST form while offline: 1. The submission is intercepted. 2. The data is saved locally in IndexedDB. 3. A background sync event is registered. 4. As soon as the browser detects the connection is restored, the Service Worker automatically retries the queued submissions. Manual Request Queuing Developers can also manually queue req","default_branch":null,"files":null,"tree":[],"storefront":"/r/shailesh-ladumor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shailesh-ladumor/laravel-pwa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}