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

  Рет қаралды 41,676

LearnWebCode

LearnWebCode

Күн бұрын

Пікірлер: 95
@henryirabor5409
@henryirabor5409 Жыл бұрын
Dude. You won't understand. But you just saved my career
@getecobyte
@getecobyte Жыл бұрын
I don't typically comment on KZbin, 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 Жыл бұрын
Glad it was helpful!
@mechanosys
@mechanosys Жыл бұрын
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 !
@Uncaught_in_promise
@Uncaught_in_promise 2 жыл бұрын
Best educator in the world
@yinonelbaz5309
@yinonelbaz5309 2 жыл бұрын
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 2 жыл бұрын
🙏 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. 🫶
@donaldonuoha4268
@donaldonuoha4268 Жыл бұрын
Best intro I have ever seen. Well done, Brad! I greet you much from Nigeria.
@nikitashakhbazyan7866
@nikitashakhbazyan7866 9 ай бұрын
I am a JS full stack developer and it's perfect that you compare actions in PHP and JS! Thank you
@akrammalek2561
@akrammalek2561 Жыл бұрын
Some People are gifted to teach online, You are the top of the list
@mmelimahlobo7656
@mmelimahlobo7656 Жыл бұрын
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 9 ай бұрын
This was like a duck taking to the water, just easy to take in and understand. Thank you
@ivanbarta2821
@ivanbarta2821 2 жыл бұрын
The best Laravel course I've ever come across 👍
@dwivedys
@dwivedys Жыл бұрын
Amazing stuff! Thank you for kickstarting my journey into web dev using PHP!
@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).
@sheraz_razzaq
@sheraz_razzaq 2 жыл бұрын
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🙂
@lokith__0089
@lokith__0089 Жыл бұрын
woow ! This is nice, just watched the video, nicely explained each and everything clearly.
@Schubzonaut
@Schubzonaut Жыл бұрын
Finally i understand the setup for developing with laravel! Thank you!
@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!
@jediampm
@jediampm 2 жыл бұрын
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 KZbin. 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.
@kvelez
@kvelez 10 ай бұрын
Good video, hope to see more PHP, Laravel, etc.
@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
@FahadIqbal-z7d
@FahadIqbal-z7d 3 ай бұрын
Amazing teaching skills.
@sagarshrestha1755
@sagarshrestha1755 2 жыл бұрын
Got first WordPress job 8 years ago from WordPress tutorial
@szymonbytniewski2988
@szymonbytniewski2988 2 жыл бұрын
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?
@craighynes7558
@craighynes7558 2 жыл бұрын
Well done Brad. Great content again. Also impressed you used a koala for your splash page for this course!
@LearnWebCode
@LearnWebCode 2 жыл бұрын
🐨 Thanks!
@jagadeeshkumar2091
@jagadeeshkumar2091 2 жыл бұрын
Thanks, gotta buy the course now!
@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)
@kelseygunter4587
@kelseygunter4587 Жыл бұрын
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 11 ай бұрын
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!
@josejaviermoya-angelergarc6968
@josejaviermoya-angelergarc6968 Жыл бұрын
Amazing tutorial, help me out a lot!
@Mr.Mi.Mu.
@Mr.Mi.Mu. 2 жыл бұрын
php -v will work too and thank you for the tutorial.
@jordanmusera9578
@jordanmusera9578 Жыл бұрын
Thank you very much. This video was very usul. Keep it up👍
@maometus
@maometus 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
Thank you so much! I messed up that absolute path and couldn't load my extensions. Thanks for the correction!
@maometus
@maometus 2 жыл бұрын
@@ashleymcgee3536 You are welcome, and good luck.
@maometus
@maometus 2 жыл бұрын
@@LearnWebCode You are welcome, it's my pleasure to share information with anyone interested in programming and especially in PHP
@Ditl2
@Ditl2 2 жыл бұрын
Super good video, thanks for this!
@DanteMishima
@DanteMishima Жыл бұрын
Sir, you are awesome!
@gambomaster
@gambomaster 2 жыл бұрын
Thanks. 🙏🙏🙏
@yinonelbaz5309
@yinonelbaz5309 2 жыл бұрын
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
@clickstudiosdigital
@clickstudiosdigital 8 ай бұрын
Super cool! 😎
@EhabShaker-eo1bf
@EhabShaker-eo1bf Жыл бұрын
I want to learn how to make a SAAS "Software as a service" project. Any help ??
@techtipsuk
@techtipsuk 2 жыл бұрын
You could use Chocolatey on Windows to do what you did with Homebrew on the Mac. choco install composer
@LearnWebCode
@LearnWebCode 2 жыл бұрын
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?
@surya.banerjee
@surya.banerjee 2 жыл бұрын
Really helpful 👍 please keep it up
@sithumigunarathne
@sithumigunarathne 9 ай бұрын
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 3 ай бұрын
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
@muhammadshah1557
@muhammadshah1557 11 ай бұрын
please explain the reason why we need to rename and edit the php.ini file.. what is the reason?
@thompchar
@thompchar 18 күн бұрын
What terminal are you using in VS Code? Mine doesn't look like that. My prompt always appears on the same line as the previous output and it's really annoying.
@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.
@Easyali1
@Easyali1 11 ай бұрын
superb bro.
@nav3961
@nav3961 2 жыл бұрын
Sir, i have a question regarding wordpress. How to publish a manual article post to wordpress automatically?? (If we have huge content of post )
@air1o1483
@air1o1483 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
@@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 KZbin 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 2 жыл бұрын
@@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!
@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?
@maxfrischdev
@maxfrischdev 2 жыл бұрын
The Decemberbrad coupon code for your new Laravel course is inactive or expired it says :-(
@LearnWebCode
@LearnWebCode 2 жыл бұрын
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.
@JohnSmith-bs9ym
@JohnSmith-bs9ym 2 жыл бұрын
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 2 жыл бұрын
@@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!
@ojtims_pup-taguig
@ojtims_pup-taguig Жыл бұрын
Help, my edit button is not clickable.
@martinrochefort5476
@martinrochefort5476 10 ай бұрын
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.
@waleedhassan9593
@waleedhassan9593 5 ай бұрын
u are amazing
@sidds09
@sidds09 2 жыл бұрын
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 2 жыл бұрын
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.
@abdessamadSayhi
@abdessamadSayhi 2 жыл бұрын
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 2 жыл бұрын
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 kzbin.info/www/bejne/Z2Oan5ptl9SnhZY
@OnyeStephen
@OnyeStephen Жыл бұрын
Is this course on Udemy?
@rohitkhadgi2673
@rohitkhadgi2673 2 жыл бұрын
wow can we get more lesson in Laravel
@whiskeybravoTX
@whiskeybravoTX Жыл бұрын
"no available formula with the name php" 😢
@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?
@cbbcbb6803
@cbbcbb6803 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@LearnWebCode Did I jump the gun, as it were? Something I'm a little (maybe a lot) impatient. 😔 Sorry.
@ideaplusagency
@ideaplusagency Жыл бұрын
vendor folder emepty
@ENSARAYDINKURUBACAK
@ENSARAYDINKURUBACAK Жыл бұрын
I faced with the same problem too. Did you find any solution for it ?
@essetee
@essetee Жыл бұрын
Composer need git under windows, otherwise refuse to install
@ambrozykleks626
@ambrozykleks626 2 жыл бұрын
PHP. Is this alive? Interestinig.
@LearnWebCode
@LearnWebCode 2 жыл бұрын
Yeah! PHP powers 78% of the web. Check out this mini-documentary about modern PHP kzbin.info/www/bejne/honbapJ8e7-cbqM
@georgeseese
@georgeseese Жыл бұрын
My 1/14/2023 comment was accepted but not seen again. Sort Newest first starts with older comments.
@RagHelen
@RagHelen 2 жыл бұрын
He really keeps on fiddling around with the stupid terminal :)
@LearnWebCode
@LearnWebCode 2 жыл бұрын
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 2 жыл бұрын
Give us Turkish support and your views will increase 2 times.
@kunduz2652
@kunduz2652 2 жыл бұрын
where is the turkish language
@trondarnemyklebust3881
@trondarnemyklebust3881 Жыл бұрын
"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 11 ай бұрын
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
Рет қаралды 210 М.
zig will change programming forever
9:34
Low Level
Рет қаралды 358 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Laravel vs React
9:40
Aaron Francis
Рет қаралды 66 М.
Use Composer to Easily Manage PHP Packages
15:40
Dave Hollingworth
Рет қаралды 10 М.
How Git Changed Programming Forever
9:13
JetBrains Academy
Рет қаралды 4,2 М.
PHP For Beginners, Ep 47 - Composer and Free Autoloading
13:13
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
10 Reasons To Try WordPress Development (JavaScript and PHP)
31:37
LearnWebCode
Рет қаралды 10 М.
PHP is the future
34:27
Aaron Francis
Рет қаралды 183 М.
how NASA writes space-proof code
6:03
Low Level
Рет қаралды 2,4 МЛН
I built a REAL Desktop App with both Tauri and Electron
12:22
Bufferhead
Рет қаралды 76 М.