simonhamp

Simon Hamp

Verified

@simonhamp

#PHP4Life

3 Answers 282 views

/ 255

?

Anonymously

hey, thanks for laradir project.

That's nice! Thank *you*. Please feel free to give me feedback and criticism so I can keep making it better for you and other Laravel devs

282 views

?

Anonymously

Does it make sense to use nativephp also to build a desktop background app which listens to webhooks? (gui-less)

Yes.

Let's get the technical side out of the way first: NativePHP isn't a GUI library and the kinds of apps you can build are really defined by the underlying framework (Electron or Tauri). So the short answer is: if Electron/Tauri let you make 'background' apps (spoiler alert: they do!), then there's no reason you couldn't build that with NativePHP.

Secondly, *should* you use NativePHP for this?

I think you should use whatever tools are available to you to build the things you want to build.

I'm also firm believer that building something one way doesn't preclude you from building it another way later, when you know better.

So don't overthink it. If something like NativePHP works for now, use it. If you find a better tool later and want to switch to that, do it if you think it's worth the investment.

282 views