NativePHP - Desktop Apps with Laravel

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ •

  • @JacquesvanWyk
    @JacquesvanWyk Рік тому +1

    wow what a great surprise. Nice to see your videos up again

  • @MuetzeOfficial
    @MuetzeOfficial Рік тому +3

    With NativePHP a little dream of me comes true. Thank You for the video.

  • @lucasnascimento1036
    @lucasnascimento1036 8 місяців тому +1

    Excellent video, can you tell me if it works normally without internet on the computer??

  • @RakibulIslam-rj2yw
    @RakibulIslam-rj2yw Рік тому

    Andre, very good explanation, thanks. I will appreciate another video regarding how to package and publish this app to distribute to end users.

    • @drehimself
      @drehimself  Рік тому

      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.

  • @moneyisenergy
    @moneyisenergy Рік тому +5

    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

    • @drehimself
      @drehimself  Рік тому +8

      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.

  • @vinsmoke.sanji.4
    @vinsmoke.sanji.4 Рік тому

    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 ....

  • @eclipse4049
    @eclipse4049 Рік тому

    Hey andre, thanks for that great video. I want to ask, is NativePHP can scan and read all file in local directory client?

  • @paulholsters7932
    @paulholsters7932 9 місяців тому

    any idea when it will be in bèta? Love this product!!

  • @FujimaruR
    @FujimaruR Рік тому +1

    wow that's good news,,
    finnaly have an alternative beside electron

  • @Warkim
    @Warkim Місяць тому

    How to deploy or distribution its ?
    Please show us

  • @jhoanborges6574
    @jhoanborges6574 Рік тому

    You're my master!!!

  • @eunardayangco2987
    @eunardayangco2987 Рік тому

    Good Day. May I know if this is consumes lot of memory usage as well like ElectronJS?

  • @alimosbah
    @alimosbah Рік тому +1

    There is something missing in the documentation of nativePHP , a mechanism or a way to build an application after completing its design

  • @Bright-C-Web-Developer
    @Bright-C-Web-Developer 7 місяців тому

    can you do a video on how to make it an executable file and package it with database?

  • @ahmadalmabhoh4785
    @ahmadalmabhoh4785 Рік тому

    Andre, awesome. ❤❤

  • @rhejiearanez9951
    @rhejiearanez9951 Рік тому +1

    Nice Andre, but is possible to work with Vuejs?

    • @drehimself
      @drehimself  Рік тому +2

      Yeah should work fine with Inertia + Vue.

  • @yacinehamiane8203
    @yacinehamiane8203 Рік тому

    can I use nativePHP on windows? or only on linux and macos?

  • @Stoney_Eagle
    @Stoney_Eagle Рік тому

    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 😊

    • @w3hacker
      @w3hacker Рік тому

      Why not use electron?

    • @nightlifeking
      @nightlifeking 9 місяців тому

      It works for Windows now.

    • @Stoney_Eagle
      @Stoney_Eagle 9 місяців тому

      @@nightlifeking a build still doesn't run properly, at least dev now starts without tinkering.

  • @s.joseph406
    @s.joseph406 Рік тому

    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 ?

  • @Oprekode
    @Oprekode Рік тому

    nice tutorial

  • @ObviouslyProgrammer
    @ObviouslyProgrammer Рік тому

    Nice! What is that VSCode template?

  • @ninjabuzz
    @ninjabuzz Рік тому +1

    Man this is amazing ,now what is left native mobile app with laravel

    • @ninjabuzz
      @ninjabuzz Рік тому

      @Andre I know this is out of the box question but what do you prefer AWS or digitalocean for laravel deployment

  • @JulioMunoz-ty6dx
    @JulioMunoz-ty6dx Рік тому

    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

  • @djhyll1
    @djhyll1 Рік тому

    Excellent, but the menu, the menubar in Linux does not work let's hope it works soon

  • @fradanloparv
    @fradanloparv Рік тому

    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.

    • @drehimself
      @drehimself  Рік тому +2

      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!

  • @alimosbah
    @alimosbah Рік тому +1

    Is tauri supported or only electron js ?

    • @drehimself
      @drehimself  Рік тому +1

      Only electron for now... But Tauri support should be coming soon

    • @alimosbah
      @alimosbah Рік тому

      @@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.💯💯💯💯

  • @AMoktar
    @AMoktar Рік тому

    Amazing 🎉 thanks

  • @Bevallalom
    @Bevallalom Рік тому

    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...

    • @drehimself
      @drehimself  Рік тому

      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`

    • @resin01
      @resin01 Рік тому

      As the page says, it isnt production ready. So I dont think there is a command to compile it to an executable yet

    • @Bevallalom
      @Bevallalom Рік тому

      @resin01 yes, I know. Probably that is something they need to include... we will see. The project looks promising. 👌

    • @resin01
      @resin01 Рік тому +1

      @@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)

  • @easyvideott7505
    @easyvideott7505 Рік тому

    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?

    • @drehimself
      @drehimself  Рік тому +1

      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.

  • @sword6012
    @sword6012 Рік тому

    Great!!
    What is the name of your VSCode theme?

  • @afzaalhussain3620
    @afzaalhussain3620 Рік тому

    can we create widow app?

  • @AbdulRehman-pz4rr
    @AbdulRehman-pz4rr Рік тому

    Can you setup on ubuntu? make tutorial for ubuntu linux

  • @toufiqulislam8575
    @toufiqulislam8575 Рік тому

    Is it expected that mobile apps can be made with PHP in the near future?

    • @drehimself
      @drehimself  Рік тому +1

      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.

  • @TomisaburoRMizugawa
    @TomisaburoRMizugawa Рік тому

    So, it's Mac / Linux only? Would be useful to mention right at the beginning that Windows users need not apply ...

    • @drehimself
      @drehimself  Рік тому +1

      It looks like Windows is supported now (with some bugs). Check out: github.com/NativePHP/laravel/issues/96

  • @question-du-temps
    @question-du-temps Рік тому

    Thanks !

  • @MrDragos360
    @MrDragos360 Рік тому +1

    What's the advantaje of nativephp over using vue3 with electron ?

    • @rutgerhoutdijk3547
      @rutgerhoutdijk3547 Рік тому +4

      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.

    • @aarkgaming-ur4ex
      @aarkgaming-ur4ex Рік тому

      @@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.

    • @maelstrom57
      @maelstrom57 Рік тому

      ​@@rutgerhoutdijk3547 There's infinitely more things you can do with JS than with PHP.

  • @Conten619
    @Conten619 Рік тому

    are this can developmen in windows

  • @duongvankhai726
    @duongvankhai726 Рік тому

    Can we develop an app with nativePHP ?

  • @0O0day
    @0O0day Рік тому

    Is it possible to use vue js? Thanks

    • @drehimself
      @drehimself  Рік тому +3

      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.

    • @0O0day
      @0O0day Рік тому

      @@drehimself Thank you

    • @yoskokleng3658
      @yoskokleng3658 Рік тому

      @@drehimself wow, now i love Inertia vue laravel native. 😍😍 but sir how about hosting it?

  • @s.joseph406
    @s.joseph406 Рік тому

    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

  • @HamadAbdulla_7
    @HamadAbdulla_7 Рік тому

    thanks

  • @principe.borodin
    @principe.borodin Рік тому

    How to build it?

  • @UeharaKeitaro上原恵太郎

    I like laravel, vue, and nuxt.

  • @gessegoncalves6493
    @gessegoncalves6493 Місяць тому

    muito bom

  • @0O0day
    @0O0day Рік тому

    Can you make a simple tutorial with Vue please. Thanks

  • @yoskokleng3658
    @yoskokleng3658 10 місяців тому

    Now NativePHP is currently still an alpha

  • @israeliloba
    @israeliloba Рік тому

    With this I'm so confused now, I have already moved to python for desktop development

    • @aarkgaming-ur4ex
      @aarkgaming-ur4ex Рік тому

      PHP is great for DB compatibility but limited range of what you can build with it unlike python.

  • @JACKoPL
    @JACKoPL Рік тому

    Windows missing? ;)

  • @z-root8955
    @z-root8955 Рік тому

    This will have space and resources problems
    For example a 100MB app that takes a screenshot

    • @drehimself
      @drehimself  Рік тому

      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.

  • @DEBUGENTITY
    @DEBUGENTITY Рік тому

    If PHP can make cross platform mobile apps..

  • @MikeNugget
    @MikeNugget Рік тому

    I thought this video would be about Tauri

  • @bahrambayramli4343
    @bahrambayramli4343 Рік тому

    NODEJS❤

  • @knives1212121
    @knives1212121 Рік тому +1

    why did they name it nativephp? it will be confusing for a job interview lol

    • @drehimself
      @drehimself  Рік тому

      Naming things is hard 😅

    • @ilhamprabuzakys
      @ilhamprabuzakys Рік тому

      they should change it to smth like "Laravel Desktop"?

  • @constantine9074
    @constantine9074 Рік тому

    Whaaaaat? I😮😮😮

  • @uanaocomchocapphatchetluon4759

    i hope someone build a framework for game apps with php 😅😅

    • @drehimself
      @drehimself  Рік тому +1

      Haha... that would blow my mind.

  • @greendsnow
    @greendsnow Рік тому

    why?!

  • @techEdunsights
    @techEdunsights Рік тому

    How i can make .exe

  • @atlantic_love
    @atlantic_love Рік тому +1

    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.

  • @leedoped6795
    @leedoped6795 Рік тому

    naivephp?

  • @savire.ergheiz
    @savire.ergheiz Рік тому +13

    So native means running html UI on native OS now 😂

    • @rutgerhoutdijk3547
      @rutgerhoutdijk3547 Рік тому +6

      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..

    • @thebirdhasbeencharged
      @thebirdhasbeencharged Рік тому +1

      React Native, Electron?

    • @sur2548
      @sur2548 Рік тому

      😂

  • @aArcziMetin2
    @aArcziMetin2 Рік тому

    Its basically a webview

  • @bahrambayramli4343
    @bahrambayramli4343 Рік тому

    ELECTRONJS

  • @mindtaker299
    @mindtaker299 Рік тому

    cute.
    php is becoming powerful