Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nuwanda's avatar

Progressive Web App (PWA): any issues using inertia.js or Livewire?

I want my app to be available as a PWA on mobile but I'm keen to develop it with either inertia or Livewire. I'm wondering if using either of those will present problems properly implementing a PWA.

I will also need to use push notifications which is not a problem for Laravel apps per se but I'm also wondering if that would be an issue when using inertia or Livewire.

0 likes
2 replies
Sinnbeck's avatar

As long as the user uses a browser to look at the page. Both techs are for browser based apps but will work in all modern browsers. And I personally use websockets to push notifications with inertia so I know that works

2 likes
eugenefvdm's avatar

I had a similar question. My concern was based around Intertia.js which seems to be semi server-side, whereas PWAs seem mostly client side with Ajax calls. So my concern was will the routing of Inertia.js just work?

Whilst researching this problem, I found this really incredible tutorial by someone who certainly has a lot of talent across Laravel and many other disciplines: https://www.twilio.com/blog/progressive-website-app-notifications-laravel-vue-js-twilio-notify

I'm also a big fan of Twillio so I will give that tutorial a shot. In the tutorial they use Vue's router, not Inertia's, but the tutorial was written before Intertia became so popular.

@nuwanda did you ever try this? Any comments 7 months on?

Edit: Also check out this Github package: https://github.com/silviolleite/laravel-pwa

1 like

Please or to participate in this conversation.