Build Your Own PHP Console App in Minutes!

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ธ.ค. 2024

ความคิดเห็น • 6

  • @CodingWithPixelFix
    @CodingWithPixelFix  3 หลายเดือนก่อน

    Want to know how to create a PHP framework from scratch? Checkout this video th-cam.com/video/86wsJgyf7G4/w-d-xo.html

  • @JonBrookes
    @JonBrookes 2 หลายเดือนก่อน

    thanks for this video and code in github. I like the pattern you use, well beyond just a single file script with a shebang at the top. I can see how this could be built out to become a very flexible cli app for things I'm working on. Also I see it uses PHP pretty much as standard so its clear what that is bringing to the app, without getting bogged down in libraries that handle command line options. Nice !

    • @CodingWithPixelFix
      @CodingWithPixelFix  2 หลายเดือนก่อน +1

      You're welcome and thanks for watching, I am glad you like it. I do try and use libraries as little as possible.

    • @JonBrookes
      @JonBrookes 2 หลายเดือนก่อน

      @@CodingWithPixelFix sound advice and if you want to learn the language, this is the way
      I did ther after look at something called laravel zero - cut down laravel for the tui / cli app. Mind blowing ! but for now, I will stick with the core libs as much as I can

  • @winampdfx
    @winampdfx 2 หลายเดือนก่อน

    I would appreciate more explanation on what is "PHP Console App" all about and where it can used.

    • @CodingWithPixelFix
      @CodingWithPixelFix  2 หลายเดือนก่อน +1

      Thanks for watching. One of the things you can use a PHP console application for in your project is to run and manage your database migrations. That is if you are using a custom framework or no framework at all.
      Established frameworks like Laravel already have such a console application called "artisan" and this tutorial shows how to create your own.