Replies: 3 comments 5 replies
-
I actually started working on this already, I hope to finish the PR over the weekend π |
Beta Was this translation helpful? Give feedback.
-
I think the only thing that's really needed is some way to bundle the static PHP binary? |
Beta Was this translation helpful? Give feedback.
-
Quick update on this β while some sort of wrapper with a nice API would be cool, it's probably possible to package a Laravel Zero app with a PHP runtime already. This article is a good starting point and the example application the author uses actually works. I tried to package a Laravel Zero project of mine the same way but it unfortunately didn't work. I keep getting the following error and I don't know how to debug it at this stage:
Others might have more luck though! EDIT: Just got the solution from the article's author on X β there's a |
Beta Was this translation helpful? Give feedback.
-
Hi there,
NativePHP was recently unveiled at Laracon and I'm pretty excited about it. What would get me even more excited though is being able to distribute Laravel Zero applications as native programs, whether through NativePHP or not.
I'm wondering how hard it would be to get the ball rolling on this? Has anyone started looking into it yet?
I know @mpociot mentioned submitting a PR for this (also suggesting bundling the PHP binary with the Laravel Zero app wouldn't be done through NativePHP), but I'm guessing that's not very high on his priority list.
I'd be happy to help, but have no idea where to start at the moment. Is there any interest from Laravel Zero to get something like that in, to begin with? Would Static PHP CLI be the right starting point for it?
Any pointers would be appreciated!
Cheers,
Yannick
Beta Was this translation helpful? Give feedback.
All reactions