Andre, nice! Thanks to you I learned TailwindCSS which I love. I migrated from PHP to NodeJs/TS and never looked backand it was the best decision in my life. Do you plan to do any NodeJS maybe with the AdonisJS framework which is Laravel for NodeJs world? Keep it UP! :D
I have a few videos on Adonis from maybe 4 years ago but I plan to stick with Laravel-related content since it's what I mostly use and am familiar with.
Hello Thank u a lot for your tutorial I just want to know if I can to minimize app to try icons or for example to set up app start when os start up etc ....
I am sooo exited for this!!!, It still doesn't work for windows yet so I have to be patient. Been eagerly watching all activity on the repo since laracon 😊
brilliant! You have explained it wonderfully! Could you make a video showing how to publish the app? I have not been able to publish the demo and in theory I have all the requirements, it compiles and only shows the app in the dock, also, when I do it for windows it does not open either but it shows at least 3 processes of the same name, any ideas? Thanks in advance.
I'm not exactly sure what the process is for publishing the app. I tried myself, the build works but I don't know where to find the .dmg or .exe file. Hopefully, the docs are updated soon!
Great indeed, but i havent seen how tauri comes in here, i like the way tauri bundles its final .exe, do we have that power here? how does tauri play here and whats the bundle size of the final application ?
KIndly also talk about building a .exe file after building, portability , installation eg: securing exe with passwords and secretes ad finally auto updating using CI/CD. Thanks
Can this tool be used with Linux? I mean can you develop an app on Ubuntu and then the final product to be *.AppImage file which can be used on Ubuntu?
Yes, a native app should be generated and available to install on all platforms via Electron (or eventually Tauri). It might be buggy right now, but I have seen some Linux/Ubuntu users in the GitHub issues.
I have a problem, when I try to install it on windows it gives me this error message: a javascript error ocurred in the main process uncaught exception: error: spawn: x:\xampp\htdoc\morfyTPV\vendor ativephp\electron esources\js esources\php\phpenoent at childprocess.?handke.onexit(nodeÑinternal/child?processÑ283Ñ19) at onerrornt(nodeÑinternal/child_process
@@drehimself It's great. I hope to support Tauri as soon as possible. The scales will change with Tauri. There will be opportunities for desktop application workers with web applications.💯💯💯💯
It s still not clear how a user can install it, for example on Windows or Linux etc. User needs to run "php artisan native:serve" in CLI? How is it "native desktop application"? I went thru' the Doc but I dont get it...
There might be bugs still on Windows/Linux but generally it's just installing the composer package with `composer require nativephp/electron` and then running the installer with `php artisan native:install`. After that you can run the dev server with `php artisan native:serve`
@@BevallalomYeah. I assume it might take a bit as they need to figure out how to manage certificates. Each platform has their own requirements. Linux has none, mac needs a dev certificate I think, and windows needs a bought certificate (or none)
If you have an existing laravel app, you don't have to rewrite everything. Many people prefer PHP over JS. Also PHP is more powerful in many ways, with JS you still need some backend to do the complex stuff. And of course you can still use inertia+vue/livewire on the frontend.
@@rutgerhoutdijk3547 true, until now i am still confused why JS(FE/client-side) don't have built-in method for removing image background you still need 3rd-party library which sometimes doesn't work and PHP(BE/Server-side) has built-in method for it which works perfectly.
Yeah, electron apps are known for being huge but I honestly don't think it's too much of an issue with most modern desktops having large amounts of disk space available. Plus, support for Tauri should come eventually which should help as well.
In the end, it will produce machine code, it just needs a ton of abstraction layers to get there 😂 Anyway, you can sell it as an application, the end user doesn't care..
Way, way too much configuration just to get a simple example running. True "native PHP" would be to install a PHP executable in a folder, and simply be able to run everything from there.
Excellent video, can you tell me if it works normally without internet on the computer??
Hey andre, thanks for that great video. I want to ask, is NativePHP can scan and read all file in local directory client?
wow what a great surprise. Nice to see your videos up again
any idea when it will be in bèta? Love this product!!
With NativePHP a little dream of me comes true. Thank You for the video.
Andre, nice! Thanks to you I learned TailwindCSS which I love. I migrated from PHP to NodeJs/TS and never looked backand it was the best decision in my life. Do you plan to do any NodeJS maybe with the AdonisJS framework which is Laravel for NodeJs world? Keep it UP! :D
I have a few videos on Adonis from maybe 4 years ago but I plan to stick with Laravel-related content since it's what I mostly use and am familiar with.
Andre, very good explanation, thanks. I will appreciate another video regarding how to package and publish this app to distribute to end users.
I wanted to show the packaging and publishing of the app but I wasn't sure how to do it myself. Hopefully the docs are updated soon.
can you do a video on how to make it an executable file and package it with database?
There is something missing in the documentation of nativePHP , a mechanism or a way to build an application after completing its design
wow that's good news,,
finnaly have an alternative beside electron
Hello
Thank u a lot for your tutorial
I just want to know if I can to minimize app to try icons or for example to set up app start when os start up etc ....
I am sooo exited for this!!!, It still doesn't work for windows yet so I have to be patient.
Been eagerly watching all activity on the repo since laracon 😊
Why not use electron?
It works for Windows now.
@@nightlifeking a build still doesn't run properly, at least dev now starts without tinkering.
brilliant! You have explained it wonderfully!
Could you make a video showing how to publish the app? I have not been able to publish the demo and in theory I have all the requirements, it compiles and only shows the app in the dock, also, when I do it for windows it does not open either but it shows at least 3 processes of the same name, any ideas? Thanks in advance.
I'm not exactly sure what the process is for publishing the app. I tried myself, the build works but I don't know where to find the .dmg or .exe file. Hopefully, the docs are updated soon!
Good Day. May I know if this is consumes lot of memory usage as well like ElectronJS?
Great indeed, but i havent seen how tauri comes in here, i like the way tauri bundles its final .exe, do we have that power here? how does tauri play here and whats the bundle size of the final application ?
Nice Andre, but is possible to work with Vuejs?
Yeah should work fine with Inertia + Vue.
Nice! What is that VSCode template?
Material Theme
Great!!
What is the name of your VSCode theme?
Material theme
Man this is amazing ,now what is left native mobile app with laravel
@Andre I know this is out of the box question but what do you prefer AWS or digitalocean for laravel deployment
Now NativePHP is currently still an alpha
Excellent, but the menu, the menubar in Linux does not work let's hope it works soon
Is it expected that mobile apps can be made with PHP in the near future?
If you watch the end of Marcel's talk, someone asked the same question. He said he had a proof of concept working but was unlikely to take it further.
can I use nativePHP on windows? or only on linux and macos?
KIndly also talk about building a .exe file after building, portability , installation eg: securing exe with passwords and secretes ad finally auto updating using CI/CD. Thanks
You're my master!!!
Andre, awesome. ❤❤
Can you setup on ubuntu? make tutorial for ubuntu linux
Can this tool be used with Linux? I mean can you develop an app on Ubuntu and then the final product to be *.AppImage file which can be used on Ubuntu?
Yes, a native app should be generated and available to install on all platforms via Electron (or eventually Tauri). It might be buggy right now, but I have seen some Linux/Ubuntu users in the GitHub issues.
nice tutorial
So, it's Mac / Linux only? Would be useful to mention right at the beginning that Windows users need not apply ...
It looks like Windows is supported now (with some bugs). Check out: github.com/NativePHP/laravel/issues/96
I have a problem, when I try to install it on windows it gives me this error message: a javascript error ocurred in the main process uncaught exception: error: spawn: x:\xampp\htdoc\morfyTPV\vendor
ativephp\electron
esources\js
esources\php\phpenoent at childprocess.?handke.onexit(nodeÑinternal/child?processÑ283Ñ19) at onerrornt(nodeÑinternal/child_process
Is tauri supported or only electron js ?
Only electron for now... But Tauri support should be coming soon
@@drehimself It's great. I hope to support Tauri as soon as possible. The scales will change with Tauri. There will be opportunities for desktop application workers with web applications.💯💯💯💯
can we create widow app?
Amazing 🎉 thanks
Can we develop an app with nativePHP ?
It s still not clear how a user can install it, for example on Windows or Linux etc. User needs to run "php artisan native:serve" in CLI? How is it "native desktop application"? I went thru' the Doc but I dont get it...
There might be bugs still on Windows/Linux but generally it's just installing the composer package with `composer require nativephp/electron` and then running the installer with `php artisan native:install`. After that you can run the dev server with `php artisan native:serve`
As the page says, it isnt production ready. So I dont think there is a command to compile it to an executable yet
@resin01 yes, I know. Probably that is something they need to include... we will see. The project looks promising. 👌
@@BevallalomYeah. I assume it might take a bit as they need to figure out how to manage certificates. Each platform has their own requirements. Linux has none, mac needs a dev certificate I think, and windows needs a bought certificate (or none)
Can you make a simple tutorial with Vue please. Thanks
What's the advantaje of nativephp over using vue3 with electron ?
If you have an existing laravel app, you don't have to rewrite everything. Many people prefer PHP over JS. Also PHP is more powerful in many ways, with JS you still need some backend to do the complex stuff. And of course you can still use inertia+vue/livewire on the frontend.
@@rutgerhoutdijk3547 true, until now i am still confused why JS(FE/client-side) don't have built-in method for removing image background you still need 3rd-party library which sometimes doesn't work and PHP(BE/Server-side) has built-in method for it which works perfectly.
@@rutgerhoutdijk3547 There's infinitely more things you can do with JS than with PHP.
Thanks !
I like laravel, vue, and nuxt.
How to build it?
thanks
are this can developmen in windows
No troll be need to a
With this I'm so confused now, I have already moved to python for desktop development
PHP is great for DB compatibility but limited range of what you can build with it unlike python.
Is it possible to use vue js? Thanks
Yup, you can use Vue the same way you would use it in a traditional Laravel app. For example, using Inertia with Vue should work perfectly fine.
@@drehimself Thank you
@@drehimself wow, now i love Inertia vue laravel native. 😍😍 but sir how about hosting it?
This will have space and resources problems
For example a 100MB app that takes a screenshot
Yeah, electron apps are known for being huge but I honestly don't think it's too much of an issue with most modern desktops having large amounts of disk space available. Plus, support for Tauri should come eventually which should help as well.
If PHP can make cross platform mobile apps..
NODEJS❤
I thought this video would be about Tauri
So native means running html UI on native OS now 😂
In the end, it will produce machine code, it just needs a ton of abstraction layers to get there 😂
Anyway, you can sell it as an application, the end user doesn't care..
React Native, Electron?
😂
Windows missing? ;)
why did they name it nativephp? it will be confusing for a job interview lol
Naming things is hard 😅
they should change it to smth like "Laravel Desktop"?
Way, way too much configuration just to get a simple example running. True "native PHP" would be to install a PHP executable in a folder, and simply be able to run everything from there.
i hope someone build a framework for game apps with php 😅😅
Haha... that would blow my mind.
How i can make .exe
Whaaaaat? I😮😮😮
Its basically a webview
ELECTRONJS
naivephp?
why?!
cute.
php is becoming powerful
nope it's not