Back

I just looked at NativePHP, which is impressive. Do you know if something similar exists to bundle some mobile app using CapacitorJS or equivalent?

Edit: I usually create mobile (and cross-platform) applications with Quasar Framework when I need it to be a mobile or desktop application in addition to SPA or PWA. Therefore, I use Laravel as the backend and handle the frontend logic using either an API or GraphQL (you might ask why not InertiaJS? Indeed... I'm considering it), but since most of the time I prefer to create web apps with Livewire, I was wondering if it wasn't possible to do something more 'native' for mobile apps using Laravel.

2

189

  • No matching results...
  • Searching...

/ 1000

As far as I know, it's not possible yet, and I wouldn't go for it. I don't think it would be performant. Even React and Flutter should only be used to quickly develop an MVP.

1

138

I understand and it makes alot of sense, at the same time, I have to deal some internal projects with specific needs for companies that need to carry 'the entire software and the entire database' with them on a handheld device such a small tablet, which sometimes leads me to synchronize the server database on the tablets that use the app. So in these cases and some many other scenarios, the size isn't really an issue, but being able to code quickly and efficiently is. Anyway, I believe Laravel using SQLite, stripped down to its bare minimum, is not that heavy. Whether the PHP binaries can significantly increase the bundle size... at that point, it would be about evaluating the costs and benefits (technologically speaking) of the stack, I guess.

My main concern is to be able to interact with the device itself, using CapacitorJS plugins for Geolocation, Camera, etc.

107