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

  Рет қаралды 36,001

LearnWebCode

LearnWebCode

Күн бұрын

Join my premium web development course learnwebcode.teachable.com/p/...
Let's learn how to get started with PHP, Composer, and Laravel.
0:00 Intro
2:12 Text Editor
5:14 Install PHP (Windows)
22:15 Install PHP (Mac)
30:49 PHP Syntax
50:45 Composer (Windows)
57:15 Composer (Mac)
1:02:07 Using Composer
1:12:19 Laravel
Follow me for updates on new videos or projects:
Instagram: / javaschiff
Twitter: / learnwebcode
Facebook: / brad-schiff-1542576316...
Twitch: / learnwebcode

Пікірлер: 91
@henryirabor5409
@henryirabor5409 Жыл бұрын
Dude. You won't understand. But you just saved my career
@BMikel
@BMikel Жыл бұрын
Best educator in the world
@abdessamadSayhi
@abdessamadSayhi Жыл бұрын
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).
@mechanosys
@mechanosys 11 ай бұрын
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 !
@akrammalek2561
@akrammalek2561 9 ай бұрын
Some People are gifted to teach online, You are the top of the list
@dwivedys
@dwivedys Жыл бұрын
Amazing stuff! Thank you for kickstarting my journey into web dev using PHP!
@cmdaltctr
@cmdaltctr Жыл бұрын
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!
@donaldonuoha4268
@donaldonuoha4268 11 ай бұрын
Best intro I have ever seen. Well done, Brad! I greet you much from Nigeria.
@mmelimahlobo7656
@mmelimahlobo7656 10 ай бұрын
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❤
@sheraz_razzaq
@sheraz_razzaq Жыл бұрын
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🙂
@ivanbarta2821
@ivanbarta2821 Жыл бұрын
The best Laravel course I've ever come across 👍
@nikitashakhbazyan7866
@nikitashakhbazyan7866 3 ай бұрын
I am a JS full stack developer and it's perfect that you compare actions in PHP and JS! Thank you
@Schubzonaut
@Schubzonaut 10 ай бұрын
Finally i understand the setup for developing with laravel! Thank you!
@pakidude89
@pakidude89 Жыл бұрын
As always, Brad nails it.
@getecobyte
@getecobyte 10 ай бұрын
I don't typically comment on KZfaq, 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.
@LearnWebCode
@LearnWebCode 10 ай бұрын
Glad it was helpful!
@lokith__0089
@lokith__0089 8 ай бұрын
woow ! This is nice, just watched the video, nicely explained each and everything clearly.
@jagadeeshkumar2091
@jagadeeshkumar2091 Жыл бұрын
Thanks, gotta buy the course now!
@yinonelbaz5309
@yinonelbaz5309 Жыл бұрын
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 Жыл бұрын
🙏 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 Жыл бұрын
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. 🫶
@Ditl2
@Ditl2 Жыл бұрын
Super good video, thanks for this!
@josejaviermoya-angelergarc6968
@josejaviermoya-angelergarc6968 10 ай бұрын
Amazing tutorial, help me out a lot!
@clickstudiosdigital
@clickstudiosdigital 2 ай бұрын
Super cool! 😎
@kvelez
@kvelez 4 ай бұрын
Good video, hope to see more PHP, Laravel, etc.
@Mr.Mi.Mu.
@Mr.Mi.Mu. Жыл бұрын
php -v will work too and thank you for the tutorial.
@DanteMishima
@DanteMishima 11 ай бұрын
Sir, you are awesome!
@cozmikwan2216
@cozmikwan2216 3 ай бұрын
This was like a duck taking to the water, just easy to take in and understand. Thank you
@gambomaster
@gambomaster Жыл бұрын
Thanks. 🙏🙏🙏
@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 KZfaq. 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.
@jordanmusera9578
@jordanmusera9578 Жыл бұрын
Thank you very much. This video was very usul. Keep it up👍
@Easyali1
@Easyali1 5 ай бұрын
superb bro.
@surya.banerjee
@surya.banerjee Жыл бұрын
Really helpful 👍 please keep it up
@abrahambamidele7810
@abrahambamidele7810 Жыл бұрын
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
@sagarshrestha1755
@sagarshrestha1755 Жыл бұрын
Got first WordPress job 8 years ago from WordPress tutorial
@craighynes7558
@craighynes7558 Жыл бұрын
Well done Brad. Great content again. Also impressed you used a koala for your splash page for this course!
@LearnWebCode
@LearnWebCode Жыл бұрын
🐨 Thanks!
@yinonelbaz5309
@yinonelbaz5309 Жыл бұрын
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
@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?
@szymonbytniewski2988
@szymonbytniewski2988 Жыл бұрын
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?
@sithumigunarathne
@sithumigunarathne 3 ай бұрын
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?
@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)
@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 ??
@kelseygunter4587
@kelseygunter4587 6 ай бұрын
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 6 ай бұрын
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!
@maometus
@maometus Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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
@muhammadshah1557
@muhammadshah1557 5 ай бұрын
please explain the reason why we need to rename and edit the php.ini file.. what is the reason?
@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 Жыл бұрын
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!
@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.
@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.
@rohitkhadgi2673
@rohitkhadgi2673 Жыл бұрын
wow can we get more lesson in Laravel
@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 kzfaq.info/get/bejne/Z5hnocpox9XYf2g.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 Жыл бұрын
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 Жыл бұрын
@@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 KZfaq 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!
@martinrochefort5476
@martinrochefort5476 4 ай бұрын
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.
@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.
@OnyeStephen
@OnyeStephen Жыл бұрын
Is this course on Udemy?
@ojtims_pup-taguig
@ojtims_pup-taguig 9 ай бұрын
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?
@whiskeybravoTX
@whiskeybravoTX Жыл бұрын
"no available formula with the name php" 😢
@ideaplusagency
@ideaplusagency Жыл бұрын
vendor folder emepty
@ENSARAYDINKURUBACAK
@ENSARAYDINKURUBACAK 11 ай бұрын
I faced with the same problem too. Did you find any solution for it ?
@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.
@ambrozykleks626
@ambrozykleks626 Жыл бұрын
PHP. Is this alive? Interestinig.
@LearnWebCode
@LearnWebCode Жыл бұрын
Yeah! PHP powers 78% of the web. Check out this mini-documentary about modern PHP kzfaq.info/get/bejne/hr6obMJ3q8DNaHU.html
@essetee
@essetee 11 ай бұрын
Composer need git under windows, otherwise refuse to install
@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 8 ай бұрын
"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 6 ай бұрын
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.
Laravel Tutorial For Beginners (Simple User CRUD App)
1:16:13
LearnWebCode
Рет қаралды 168 М.
Become a WordPress Developer: Unlocking Power with Code
3:18:33
LearnWebCode
Рет қаралды 861 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 29 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 28 МЛН
APIs for Beginners 2023 - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 1,8 МЛН
Use Composer to Easily Manage PHP Packages
15:40
Dave Hollingworth
Рет қаралды 2,6 М.
Get Started With Laravel | FREE COURSE
2:23:44
Envato Tuts+
Рет қаралды 130 М.
Learn HTML & CSS For Beginners (Let's Code From a Figma Design)
2:35:30
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,3 МЛН
PHP is the future
34:27
Aaron Francis
Рет қаралды 169 М.
WordPress Plugin Development: Gutenberg Blocks, React & More
3:44:47
LearnWebCode
Рет қаралды 193 М.
Assembly Language Programming with ARM - Full Tutorial for Beginners
2:29:32
freeCodeCamp.org
Рет қаралды 1,3 МЛН
Symfony PHP Framework Tutorial - Full Course
3:28:05
freeCodeCamp.org
Рет қаралды 389 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 34 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 29 МЛН