odinbi / pwa
odinbi pwa package
Installs: 196
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
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-06-09 07:18:23 UTC
README
Installable Odinbi PWA for laravel. Edit based on codexshaper/laravel-pwa
Lavel PWA version | Laravel version |
---|---|
1.0 | ^5.6, ^6.0, ^7.0 |
1.1 | ^8.0 |
Requirements
It only suppoorts HTTPS and localhost (both HTTP and HTTPS)
Download
composer require odinbi/pwa
Config - Add OdinbiPackageServiceProvider to config/app
Odinbi\Pwa\OdinbiPackageServiceProvider::class,
Publish config (database, migration, asset, view)
php artisan vendor:publish --tag="odb.pwa"
Database migrate
php artisan migrate --path=database/migrations/2022_05_26_070051_create_pwa_settings_table.php
Routes
Use link: host/pwa/store to create new pwa_setings (Route name: pwa.store)
Ex: https://odinbi.app/pwa/store
Run php artisan to show routes list
Use: Add below code before closing head tag
{{ pwa_meta() }}