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.
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
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 😊
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 ?
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)
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.
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.
@@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.💯💯💯💯
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!
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
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.
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.