How To Get Started With PHP, Composer & Laravel (Windows & Mac)

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 94

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

    I don't typically comment on UA-cam, but I just want to say-I've not developed an application for a few years now; this is such a phenomenal refresher resource. I'm so grateful to have stumbled upon this.

  • @henryirabor5409
    @henryirabor5409 Рік тому +11

    Dude. You won't understand. But you just saved my career

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

    I was blessed that since I started my journey as a developer about 5 years ago I always had the music of one of your courses in the background
    I started with the course on WordPress from there I switched to git, then I did the course on nodejs and React, I finished with the course on SQL, and now I'm enjoying enrich my knowledge with the course on laravel
    Thank you for the excellent courses, they are pure pleasure apart from their educational value!

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

      🙏 Thank you! It's fun to pick up different skills over time and see how they all complement each other and can fit together. It means a lot to hear first-hand that the courses are helpful, I really appreciate that.

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

      Yes. Both Brad Schiff and Brad Traversy are my favorites. I learned a lot from these two. Schiff makes it so easy. He is born to teach. 🫶

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

    I am a mechanical engineer having 28 years of manufacturing plant maintenance experience. Just thought what is PHP and how can I learn it. After watching your videos, I have installed , configured and started learning PHP ! Thank you !!! I will learn the Laravel next !

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

    Best intro I have ever seen. Well done, Brad! I greet you much from Nigeria.

  • @nikitashakhbazyan7866
    @nikitashakhbazyan7866 7 місяців тому

    I am a JS full stack developer and it's perfect that you compare actions in PHP and JS! Thank you

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

    Woow thanks sir you have touched topics that nobody teaches thats amazing give us more please,I wish I had started with you from the very start of my learning❤

  • @cozmikwan2216
    @cozmikwan2216 7 місяців тому +1

    This was like a duck taking to the water, just easy to take in and understand. Thank you

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

    Best educator in the world

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

    Just what I needed, keep up the good work 🙏
    It's not common to find a someone like you that teach Web dev in the right way (I really liked how you took your time to explain what is a composer and why it's important not for just Laravel but for a lot of things).

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

    Some People are gifted to teach online, You are the top of the list

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

    Best and someone different in this world to teach in a very creative way. I enjoyed and learned alot from this 1.2 hour and excited to learn complete course🙂

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

    Amazing stuff! Thank you for kickstarting my journey into web dev using PHP!

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

    The best Laravel course I've ever come across 👍

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

    woow ! This is nice, just watched the video, nicely explained each and everything clearly.

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

    Hi Brad! I've been following your videos and its always lovely. I hope you will keep updating your old course, I really want people to buy your course instead of the "bad" courses they'd find in Udemy or elsewhere. Thanks again for the free course on PHP!

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

    Finally i understand the setup for developing with laravel!
    Thank you!

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

    Hi Brad, i bought the course just a couple minutes ago, i just use the coupon that is in your website, that ends today.
    I didn't know that you published some part in UA-cam.
    I was posting this comment in the previous but this is ok too.
    When i finish at least one the others unfinished courses, i will start this one.
    Thanks.

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

    hi Brad, thanks for the work you are doing, I really enjoy your teaching methods.
    please 🙏 for record purpose I discovered that you need to enable the
    (;extension=zip) in your php.ini file before you can create a Laravel project on windows.
    thanks

  • @kvelez
    @kvelez 8 місяців тому

    Good video, hope to see more PHP, Laravel, etc.

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

    Got first WordPress job 8 years ago from WordPress tutorial

  • @FahadIqbal-z7d
    @FahadIqbal-z7d Місяць тому

    Amazing teaching skills.

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

    It would be cool if in a month or two (I'll finish the course on laravel 😁)
    You will release a video about WordPress VS Laravel

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

    Thanks, gotta buy the course now!

  • @Mr.Mi.Mu.
    @Mr.Mi.Mu. Рік тому

    php -v will work too and thank you for the tutorial.

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

    Well done Brad. Great content again. Also impressed you used a koala for your splash page for this course!

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

    Sir, you are awesome!

  • @josejaviermoya-angelergarc6968

    Amazing tutorial, help me out a lot!

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

    Thanks. 🙏🙏🙏

  • @clickstudiosdigital
    @clickstudiosdigital 6 місяців тому

    Super cool! 😎

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

    Brad, as a expert, could you tell me, it is possible to make your Social App (React) with WP as a backend? Could you make course about it?

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

    Thank you very much. This video was very usul. Keep it up👍

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

    Super good video, thanks for this!

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

    You could use Chocolatey on Windows to do what you did with Homebrew on the Mac.
    choco install composer

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

      Oh nice! I've heard of Chocolatey many times but never used it myself. I bet it could make installing PHP 8.x easier too. I wonder if you use Chocolatey to install PHP if it gets automatically added to your PATH / command-line?

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

    superb bro.

  • @kelseygunter4587
    @kelseygunter4587 10 місяців тому +2

    Hi Brad! Thank you for this tutorial. One HUGE issue: when I try to create a new project with Laravel, and I input the create-project command into Powershell, I get a BUNCH of these errors in yellow:
    "Failed to download spatie/laravel-ignition from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\Program Files\php\php.ini
    Now trying to download from source"
    The project does eventually get set up, but it takes 3-5 minutes. Any tips for fixing this?

    • @michaelameissner9120
      @michaelameissner9120 10 місяців тому +1

      I had the exact same issue!! I actually found the solution buried in the comments. If you enable the (;extension=zip) in your php.ini file it works great. I hope that helps you out!

  • @surya.banerjee
    @surya.banerjee Рік тому

    Really helpful 👍 please keep it up

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

    the absolut path of the "extension_dir" is not necessarily to work, just the relative path "ext" as it was given it works fine.
    you may need to enable PDO extensions in php.ini if you want to work with database in the future.

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

      Thanks for the heads up on PDO! Regarding the path to the extensions, maybe something else was wrong with my initial configuration and it was just a coincidence so I figured that change was what solved it.

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

      Thank you so much! I messed up that absolute path and couldn't load my extensions. Thanks for the correction!

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

      @@ashleymcgee3536
      You are welcome, and good luck.

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

      @@LearnWebCode
      You are welcome, it's my pleasure to share information with anyone interested in programming and especially in PHP

  • @waleedhassan9593
    @waleedhassan9593 3 місяці тому

    u are amazing

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

    that slugify package you used didn't keep the exclamation marks with the rest of the string, why is that? (1:10:28)

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

    Hey i have enrolled to your udemy course. Just wanted to know if you are answering into q&a section there?

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

    Are you covered full PHP basic to advance in this course?

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

      Good question. The course is actually far more focused on understanding the pieces that make up any web framework (model, view, controller, migrations, etc...) as opposed to learning advanced PHP itself. We practice the basic syntax needed to leverage Laravel, but the main value of the course I feel is that a lot of other Laravel courses I had seen assume that it's the 10th or 20th web framework you're learning, and so they don't bother to explain any of the concepts that are *not* unique to Laravel.

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

    Sir, i have a question regarding wordpress.
    How to publish a manual article post to wordpress automatically?? (If we have huge content of post )

  • @EhabShaker-eo1bf
    @EhabShaker-eo1bf Рік тому

    I want to learn how to make a SAAS "Software as a service" project. Any help ??

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

    please explain the reason why we need to rename and edit the php.ini file.. what is the reason?

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

    Is this course on Udemy?

  • @JohnSmith-bs9ym
    @JohnSmith-bs9ym Рік тому

    Hey Brad! I'm in your "Become a WordPress Developer: Unlocking Power with Code" Udemy course right now. I think I might be too late because quite a few things just don't work anymore. (The course was made three long years ago) Right now I'm actually stuck at the part where we are supposed to have the events page set up and everything. It just keeps showing that the events page does not exist. I tried everything, and I even copied over my whole folder with the code you provided. I think it's just because WP has changed quite a few things since then.

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

      Hi John, the WordPress dev course was actually created closer to five years ago, but it's received huge updates along the way, especially big updates in 2021 and the early-mid part of 2022 (block-type plugin dev, manual DB basics, and new block theme support and creation). Earlier today I was testing the finished product from the WP course (working on a few minor PHP 7 to 8 updates) and the Events page loaded perfectly. I'm wondering if maybe it's a permalink issue? What if you go into the WP Settings and click save on the Permalinks screen to force them to be rebuilt?

    • @JohnSmith-bs9ym
      @JohnSmith-bs9ym Рік тому

      @@LearnWebCode Oh woah, thanks so much, Brad! That quickly fixed it. I wasn't expecting you to respond, left alone testing it and finding a solution for me!! I'm very, very grateful :)
      PS: While I fortunately have a direct line to you, hope you don't mind me asking an unrelated question. I want to start my freelancing journey as a WordPress developer. I've been studying your course for about two hours a day. I had already learned HTML, CSS and JavaScript in a bootcamp, so I'm just wondering if your WP course is enough to get me started once I finish. Or is there any more content that you would suggest? Any advice would be greatly appreciated! Thanks again!

  • @martinrochefort5476
    @martinrochefort5476 8 місяців тому

    Sorry but the Dev environment won't install. PHP is still 'Installing' after 4 hours. Brand new OS install so no baggage left behind from previous attempts. It would be nice to get this going.

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

    For junior web dev who want to work on a freelance platform such as Fiverr or Upwork, is Laravel a good framework to make money some extra cash ?
    PS: (I've never worked with a PHP framework)

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

      Good question. I don't have any experience with Fiverr, but freelance / remote-gig work in general is great for Laravel just because it's so popular and so many existing and new sites use it. Just like WordPress dev, whether it's new-site building or maintenance & updates on old sites, if you know Laravel there's a lot of work out there. Here's a fun video to get hyped about Laravel ua-cam.com/video/127ng7botO4/v-deo.html

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

    Hi Brad, I'm a student who is taking your Wordpress course at Udemy. (Become a WordPress Developer: Unlocking Power With Code). Sorry for leaving a question on youtube comment, but I will really appreciate it if you could have a look at my problem.
    I'm taking lesson #189 of your course, its about adding single page block to fictional university block theme.
    I have added the single page following the lession, and it worked well except for the plugin we created which is called are-you-paying-attention. It shows perfectly on Editor(wp admin-posts-and edit) but it is not showing on the frontend.
    However when I tested with the non-block version theme, it shows on the frontend without any problems.
    I tried to find the reason, but I couldn't find it. There is a q&a post for the same issue with me but nobody answered for that yet.
    Could you please let me know I can solve this problem or reason of it?
    Thanks for reading this. I hope you have a wonderful day.

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

      Hi Ara, thanks for posting this. I'm currently working on a batch of new update fixes for the WP course. Regarding the issue you're describing, I'm pretty sure the issue is that in the block theme WordPress is loading your JS assets "before" the DOM has loaded, so the client-side JS for the quiz block type doesn't see the div it's supposed to hook into. In the plugin php file, did you make sure to include "true" as the final argument when we're enqueuing the front-end JS, so that it loads in the footer? Like this:
      wp_enqueue_script('attentionFrontend', plugin_dir_url(__FILE__) . 'build/frontend.js', array('wp-element'), '1.0', true);
      I can confirm that if you download the "All In One Migration" file and create a fresh WP project in Local and import the downloadable migration file, the source example code for the "Are You Paying Attention" plugin works nicely with the block theme.
      Thanks!
      Brad

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

      @@LearnWebCode Hi Brad, Thank you so much for your response. Apparently I deleted the code as I added
      "viewScript": "file:./build/frontend.js",
      "style": "file:./build/frontend.css"
      on block.json file. After I add wp_enqueue_script('attentionFrontend', plugin_dir_url(__FILE__) . 'build/frontend.js', array('wp-element'), '1.0', true); it works perfectly.
      Thank you so much!
      If you don't mind may I ask you another question? when we started the course we copied and pasted your Javascript and CSS/SCSS files downloaded from your github, I just wonder if you wrote everything for the lectures.
      I'm starting to create my own website using what I learn from you, but creating an website from the scratch is quite difficult.
      Thanks for helping with it, and reading this!

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

      @@air1o1483 Oh, yes loading assets like that in the block.json file is very convenient (and the official WP recommended way) for certain block types, but when I want to use React / client-side JS on the public-facing side of the site, I've had better luck loading the assets via the PHP method.
      Regarding setting up your own CSS: if you search UA-cam for "css grid learnwebcode" the first two videos might be helpful. While it doesn't use modern "grid" code, for more of a foundation on writing your own CSS and staying organized, my course on Udemy called "Git a Web Developer Job: Mastering the Modern Workflow" might be helpful. Or, often times you don't need to setup your own CSS from scratch; for projects where branding / style-details aren't totally custom or important I'm actually a huge fan of Bootstrap (but obviously for highly branded projects Bootstrap is my worst nightmare).

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

      @@LearnWebCode I see. so block.json is a very convenient new feature but sometimes it can work out of expectation.
      Thanks for your kind response.
      I will try to make my own html/css templates both with bootstrap and without it. Your course will definitely be helpful for learning professional workflow. I'll watch it one day. Thanks a lot!

  • @sithumigunarathne
    @sithumigunarathne 7 місяців тому

    when i enter the command composer create-project laravel/laravel (name) it gives a bunch of warnings and after installing and i give command php artisan serve, it says could not find driver. any idea how to resolve this?

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

      I know this is a bit late but try `php artisan migrate` before you run `php artisan serve` if this is your first ever installation

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

    The Decemberbrad coupon code for your new Laravel course is inactive or expired it says :-(

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

      Hi, sorry about that, I wish Udemy would let coupons last longer than 4 or 5 days. I just created a new one this morning, the coupon code is GRATEFULDECEMBER for all of my courses.

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

    wow can we get more lesson in Laravel

  • @ojtims_pup-taguig
    @ojtims_pup-taguig Рік тому

    Help, my edit button is not clickable.

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

    Hi Brad, I missed the udemy big sale and I regret not buying your "Become a WordPress Developer: Unlocking Power With Code" course. Can you please have pity on me and give me voucher for discount?

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

    Can this udemy course help me in starting with freelancing. where would I stand after it? I want to start freelancing.
    your website says you are coming up with a web dev course too.

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

      Hi, I'd say yes it will help with freelancing, because there's lots of Laravel work to go around, it's always in demand. Someone with a solid understanding of HTML, CSS & JS, plus either (1) Laravel or (2) WordPress will never be out of work! Having said that, the technical skills are always just one part of landing freelancing gigs, there's also the networking, interviewing, & advertising yourself aspect.

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

    Composer need git under windows, otherwise refuse to install

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

    Good video. One flaw, though. No Linux installation. I know you can't show 40 Linux types, but that is no reason for not doing even 1 type.

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

      Good point. For what it's worth, at the end of the full course we learn how to install a PHP + Laravel environment on an Ubuntu / Debian based system, 100% from the command-line, so I figured that would also serve as a setup guide for anyone using Linux as their desktop OS, but since that part isn't included in this video you're totally right, Linux is missing.

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

      @@LearnWebCode Did I jump the gun, as it were? Something I'm a little (maybe a lot) impatient. 😔 Sorry.

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

    vendor folder emepty

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

      I faced with the same problem too. Did you find any solution for it ?

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

    "no available formula with the name php" 😢

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

    PHP. Is this alive? Interestinig.

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

      Yeah! PHP powers 78% of the web. Check out this mini-documentary about modern PHP ua-cam.com/video/PXx9_FFZi8A/v-deo.html

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

    My 1/14/2023 comment was accepted but not seen again. Sort Newest first starts with older comments.

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

    He really keeps on fiddling around with the stupid terminal :)

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

      Haha, I know the terminal isn't necessary and most "intro guides" jump into outputting "Hello World" web pages through XAMPP, but I wanted to try something different and encourage the viewer to not view PHP as the messy spaghetti echo-filled "web page" language, but instead view it as a general purpose language just like you would Node.js or Python. And those languages typically begin in the command-line. Also, we need the command-line in order to leverage PHP's package manager (Composer).

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

    where is the turkish language

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

    Give us Turkish support and your views will increase 2 times.

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

    "Failed to download laravel/laravel from dist: the zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is C:\users\user\documents\projects\php\php.ini
    Now trying to download from source"
    "in GitDownloader.php line 82:
    GIT WAS NOT FOUND IN YOUR PATH, skipping source download"
    This is what I'm met with in the terminal as I'm trying to create the laravel project in the last step.
    I'm on W11

    • @Imme.42
      @Imme.42 10 місяців тому

      Go into your php.ini and remove the semicolon in front of "extension=zip" just like you did for "extension=fileinfo", "extension=gd" etc. Save the php.ini and try again. As of PHP 8.2 this needs to be done manually. In the video he's using an earlier version of PHP that did this automatically.