LaravelPackages.net
Acme Inc.
Toggle sidebar
codexshaper/laravel-pwa

Laravel Progressive Web App

3.035
15
v1.2
About codexshaper/laravel-pwa

codexshaper/laravel-pwa is a Laravel package for laravel progressive web app. It currently has 15 GitHub stars and 3.035 downloads on Packagist (latest version v1.2). Install it with composer require codexshaper/laravel-pwa. Discover more Laravel packages by codexshaper or browse all Laravel packages to compare alternatives.

Last updated

License Build Status StyleCI Quality Score Downloads Latest Version on Packagist

Description

Installable PWA for laravel. Implement PWA in your laravel website within 5 mins.

| Lravel PWA version | Laravel version | | --- | --- | | 1.0 | ^5.6, ^6.0, ^7.0 | | 1.1 | ^8.0 | | 1.2 | ^8.0 |

Requirements

It only suppoorts HTTPS and localhost (both HTTP and HTTPS)

Click here to see video instruction.

IMAGE ALT TEXT HERE

Download

composer require codexshaper/laravel-pwa

Install

php artisan pwa:install

Use: Add below code before closing head tag

{{ pwa_meta() }}

OR

@PWA

Finaly configure your own information. Go to {{url}}/pwa

Additionaly you may add below script after all js loaded to work perfectly bootstrap 4 custom file input

$(".custom-file-input").on("change", function() {
  var fileName = $(this).val().split("\\").pop();
  $(this).siblings(".custom-file-label").addClass("selected").html(fileName);
});

Contributors

  • Md Abu Ahsan Basir - Creator and Maintainer - github

Concept from silviolleite

Star History Chart