laravelir / pwa by miladimos

pwa for laravel
88
1
1
Package Data
Maintainer Username: miladimos
Maintainer Contact: miladimos@outlook.com (miladimos)
Package Create Date: 2023-02-24
Package Last Update: 2023-03-13
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-12-22 03:03:45
Package Statistics
Total Downloads: 88
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0
  • Starts
  • Forks Total Downloads

laravelir/pwa

pwa for laravel

Installation / Use

  1. Run the command below to add this package:
composer require laravelir/pwa
  1. Open your config/app.php and add the following to the providers array:
Laravelir\Pwa\Providers\PwaServiceProvider::class,
  1. Run the command below to install the package:
php artisan pwa:install
  1. open pwa.php config file and fill your configs and run bellow command to generate manifest.json file:
php artisan pwa:generate
  1. 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> 
  1. 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.