Auto-Generate Files
Automatically compiles and updates the PWA manifest and service worker files directly into your public folder.
Progressive Web App setup supporting Livewire, Vue.js & React.js out of the box.
Erag Laravel PWA is a package designed to seamlessly integrate Progressive Web Application (PWA) functionality into your Laravel projects. With this package, you can easily configure, update the manifest, and register service workers, enabling any Laravel app to function as a PWA. It requires minimal configuration and works out of the box with Blade, Livewire, Vue, and React environments.
Yes. Progressive Web Application features, including service workers and installation prompts, require a secure HTTPS connection to function. On local development, localhost is treated as a secure context, but testing on external devices or staging/production servers requires SSL setup.
Absolutely. By setting 'livewire-app' => true in your configuration, the package adds the data-navigate-once attribute to the service worker scripts to prevent duplicate registrations and script leaks during page transitions.
Simply replace the PNG logo at public/logo.png (must be at least 512x512 pixels) and run the php artisan erag:update-manifest command to regenerate the manifest icons.
Yes. The package includes a PWA Facade that allows you to dynamically merge and update manifest values inside your controller actions or background jobs.