codexshaper / laravel-pwa
Laravel Progressive Web App
Installs: 2 853
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 2
Forks: 9
Open Issues: 6
Requires
- php: ^7.0|^7.1|^7.2|^7.3|^7.4|^8.0
- illuminate/support: ^5.6|^6.0|^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^7.0|^8.0
This package is auto-updated.
Last update: 2024-10-27 20:47:11 UTC
README
Description
Installable PWA for laravel. Implement PWA in your laravel website within 5 mins.
Requirements
It only suppoorts HTTPS and localhost (both HTTP and HTTPS)
Click here to see video instruction.
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