NativePHP - Desktop Apps with Laravel

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 102

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

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

  • @leedoped6795
    @leedoped6795 Год назад

    naivephp?

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

  • @savire.ergheiz
    @savire.ergheiz Год назад +12

    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 Год назад

      😂

  • @Bright-Great
    @Bright-Great 3 месяца назад

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

  • @yoskokleng3658
    @yoskokleng3658 6 месяцев назад

    Now NativePHP is currently still an alpha

  • @FujimaruR
    @FujimaruR Год назад +1

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

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

  • @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"?

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

  • @lucasnascimento1036
    @lucasnascimento1036 4 месяца назад

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

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

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

  • @eclipse4049
    @eclipse4049 8 месяцев назад

    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 5 месяцев назад

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

  • @eunardayangco2987
    @eunardayangco2987 Год назад

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

  • @JacquesvanWyk
    @JacquesvanWyk Год назад +1

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

  • @djhyll1
    @djhyll1 Год назад

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

  • @DEBUGENTITY
    @DEBUGENTITY Год назад

    If PHP can make cross platform mobile apps..

  • @yacinehamiane8203
    @yacinehamiane8203 10 месяцев назад

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

  • @techEdunsights
    @techEdunsights 11 месяцев назад

    How i can make .exe

  • @vinsmokesanji9485
    @vinsmokesanji9485 Год назад

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

  • @AbdulRehman-pz4rr
    @AbdulRehman-pz4rr Год назад

    Can you setup on ubuntu? make tutorial for ubuntu linux

  • @MikeNugget
    @MikeNugget Год назад

    I thought this video would be about Tauri

  • @bahrambayramli4343
    @bahrambayramli4343 Год назад

    ELECTRONJS

  • @Conten619
    @Conten619 Год назад

    are this can developmen in windows

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

  • @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 ?

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

  • @greendsnow
    @greendsnow Год назад

    why?!

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

  • @duongvankhai726
    @duongvankhai726 Год назад

    Can we develop an app with nativePHP ?

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

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

  • @MuetzeOfficial
    @MuetzeOfficial Год назад +3

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

  • @banwa_non
    @banwa_non Год назад

    I like laravel, vue, and nuxt.

  • @0O0day
    @0O0day Год назад

    Can you make a simple tutorial with Vue please. Thanks

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

  • @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!

  • @uanaocomchocapphatchetluon4759

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

    • @drehimself
      @drehimself  Год назад +1

      Haha... that would blow my mind.

  • @rhejiearanez9951
    @rhejiearanez9951 Год назад

    Nice Andre, but is possible to work with Vuejs?

    • @drehimself
      @drehimself  Год назад +1

      Yeah should work fine with Inertia + Vue.

  • @afzaalhussain3620
    @afzaalhussain3620 Год назад

    can we create widow app?

  • @jhoanborges6574
    @jhoanborges6574 9 месяцев назад

    You're my master!!!

  • @JACKoPL
    @JACKoPL Год назад

    Windows missing? ;)

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

  • @aArcziMetin2
    @aArcziMetin2 Год назад

    Its basically a webview

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

  • @constantine9074
    @constantine9074 Год назад

    Whaaaaat? I😮😮😮

  • @principe.borodin
    @principe.borodin Год назад

    How to build it?

  • @sword6012
    @sword6012 Год назад

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

  • @ObviouslyProgrammer
    @ObviouslyProgrammer Год назад

    Nice! What is that VSCode template?

  • @Oprekode
    @Oprekode Год назад

    nice tutorial

  • @bahrambayramli4343
    @bahrambayramli4343 Год назад

    NODEJS❤

  • @HamadAbdulla_7
    @HamadAbdulla_7 Год назад

    thanks

  • @ahmadalmabhoh4785
    @ahmadalmabhoh4785 Год назад

    Andre, awesome. ❤❤

  • @AMoktar
    @AMoktar Год назад

    Amazing 🎉 thanks

  • @question-du-temps
    @question-du-temps Год назад

    Thanks !

  • @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 5 месяцев назад

      It works for Windows now.

    • @Stoney_Eagle
      @Stoney_Eagle 4 месяца назад

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

  • @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?

  • @mindtaker299
    @mindtaker299 Год назад

    cute.
    php is becoming powerful