pwa for laravel
- Run the command below to add this package:
composer require laravelir/pwa
- Open your config/app.php and add the following to the providers array:
Laravelir\Pwa\Providers\PwaServiceProvider::class,- Run the command below to install the package:
php artisan pwa:install
- open pwa.php config file and fill your configs and run bellow command to generate manifest.json file:
php artisan pwa:generate- and add pwa directives to your master file:
<html>
<head>
    <title>My Pwa Project</title>
    ...
    
    @pwa_metas
</head>
<body>
    ...
    My content
    ...
    
    @pwa_sw
</body>
</html> - create offline view and route:
safari support
composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.