laravelir / pwa
pwa for laravel
Fund package maintenance!
pwa
github.com/laravelir/pwa
Requires
- php: >=7.4|^8.0
Requires (Dev)
- phpunit/phpunit: ^9.4
This package is auto-updated.
Last update: 2024-12-13 16:20:14 UTC
README
laravelir/pwa
pwa for laravel
Installation / Use
- 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:
Services
Features
safari support
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.