Skip to main content

silviolleite/laravel-pwa vs erag/laravel-pwa

Both

silviolleite/laravel-pwa and erag/laravel-pwa are popular packages for integrating PWA features into Laravel, but erag/laravel-pwa is a more modern, maintained, and feature-rich option, especially for recent Laravel versions. 



Feature Comparison


Feature 
  silviolleite/laravel-pwa erag/laravel-pwa
Current Maintenance Less actively maintained; recent activity involved pull request merges rather than significant feature additions. Actively maintained with recent updates and new features.
Laravel Support Primarily supports older versions of Laravel (e.g., Laravel 5.x through 8.x). Supports modern Laravel 8, 9, 10, 11, and 12.
Setup & Commands Requires manual publishing of configuration files and a standard vendor:publish command. Offers a streamlined php artisan erag:install-pwa command for easier setup and an erag:pwa-update-manifest command for updating.
Key Functionality A basic implementation that generates the necessary manifest and service worker files, but may require manual adjustments for specific use cases (e.g., in local environments). Automatically generates manifest.json and service-worker.js, includes Blade directives, and supports dynamic features like an install button and logo changes.
Frontend Integration General Laravel support. Explicitly works well with modern stacks like Vue.js and React.js.

Summary

  • Use erag/laravel-pwa if you are using a recent version of Laravel (8+) and want a well-maintained, modern package with easy installation and advanced features.
  • Use silviolleite/laravel-pwa only if you are working with a legacy Laravel application and need a simple, basic PWA implementation. 
You can find more details and installation instructions on the respective GitHub pages: