I came from Wordpress about 10+ years ago and switched to Laravel before getting into React, node and nextjs. Over 10 years later and I'm back to Laravel with livewire. Feels so much better. Easier to actually build things.
I'm trying to learn React for the front-end, but I'm unsure what to pick between Laravel and NextJS. What are your thoughts? The fact you cam serve the Laravel from a shared web hosting makes it appealing to me for a project I have on list, but is worth NextJS more attention? How capable is NextJS to handle the SQL database ?
@@name_less227 That's what I'm looking for. Thank you! I think I will use the Laravel for what I have in mind (a product bundle configurator with some extra features you mention), and give NextJS for a smaller app.
@@overPowerPenguin I had the same dilemma , wheathr to go javascript (nodejs , next.js, mongodb) or PHP(laravel , postgres) , most of my project are simple content management
Been writing PHP code since 2004 or so, but last I used Laravel in depth was 2014. It really hasn’t changed all _that_ much since then. That’s actually good to see since it means that not only is it very stable, but it hasn’t _needed_ to change much either.
Your post illustrates the importance of good initial design and a reasonable amount of planning. I started with Laravel in 2012 or so, and I have been able to accumulate my understanding of it over time rather than re-learn everything at major-release time. You are right to call this out as a beneficial property, a subtly important one to the health of all software ecosystems.
Holy crap. This video just connected SO MANY DOTS dots for me. I've been working on a Laravel project (a Statamic website) for about a year but I haven't had to do much tinkering with Laravel itself. I've slowly been exposed to all the inner workings but I didn't really understand how it all came together. Thank you for this video!!
I'm sick of react and the elitist mentality of Next and trying to give Apple vibes and making web dev seem like rocket surgery I have done many paradigms from imperative to functional, heck even Prolog. No, it's not "just a function" I started working with Sveltkit this week and oh man is it good But this, this is pure gold 🥇, name an equivalent js framework. I'll wait... I'm not sure how people got trapped in SPAs, let's let the server do server work again Thank you for this beautiful video
@@JSLegendDev Adonis is pretty similar to Laravel. Problem with it is it is mostly developed by one dev and is not very well recognized within the nodejs community. hence Future of the project is uncertain. Otherwise pretty great one.
It is great to see that PHP frameworks - and especially Laravel - are leaving more and more the web-development frameworks in other languages (Python, Ruby, JS) in the dust. Although I am not using Laravel I am grateful for what Laravel (and Wordpress) have done for the survival and dominance of PHP in the web.
I’m a computer science graduate in my school we learned programming using JAVA. And when it was time for internship the company was using Laravel for their entire backend And I was forced to learn Php & Laravel (it took me 3 weeks ). And Built great things with Laravel and now I think Laravel is my main web technology (I can still work with spring boot,…) but I love the way Laravel makes things easy…
Can you believe me if I tell you that I've learned Laravel & last week someone told me Laravel and php are not used in my city and the most used was Java & Angular ? so since then I'm learning Java in order to find a Job 🤣
Oh my! Really questioning my life choices as a Typescript dev. Feels like I've been living under a rock cobbling together a dozen npm packages for each simple feature I need. Laravel here I come.
Laravel is way more superior than any other language frameworks. NodeJS ecosystem is more cluttered that makes us spend more time setting up the project than actually building the app. My head spins just installing many packages and reading dozens of documentations of those.
Laravel isn't all perfect. From a developer perspective, it pushes changes way too frequently, making you fell like you're always falling behind. There's a cult around that it is perfect. Well it has it's own process which puts you far away from PHP itself. If you ever feel like you need to change, well, you're closed off to it. While it allows for fast prototyping and has a good DX, the ecosystem is very self-contained, forcing you to a certain way of thinking (Laravel way TM) and nothing else. Some might consider this a benefit, others a drawback. I have been on the two sides of the coin, now am in the latter as I feel constrained by the framework after creating apps with it for a while. I love how everyone in Laravel community pushes to say that Laravel Vapor is very simple. Experiment run an app through Vapor and needing support from them - 95% of the time they'll tell you it's a problem with your app, that they don't plan on supporting X and to fuck off and just pay. This to say, Laravel community is an echo chamber. Be careful and thoughtful. As for Laravel itself, great framework with lots of cool stuff out of the box, but all that can be done elsewhere too.
You could say this for any language or package and their cult followers. They all are built in a way that works best for the creator. Every language has downfalls and their perks.
I agree with you. Laravel isn't perfect at all. Laravel is an opinionated framework, and there are a lot of things in the ecosystem as well that are very much opinionated - as you mentioned "Laravel way TM" Enough rejected PRs have confirmed this. Does it stops me as a developer from overriding any functionality, in whatever manner I feel like? No. Does it forces me to update the framework whenever there is a change? No. Shall it reduce the frequency because most of the developers are unable to upgrade/catch-up? No. Haven't used Vapor myself, and I would agree to what you say about the experience, and yes, enough rejected PRs give a similar taste. At the end of the day, Laravel does helps me: - Get stuff done - Gives me option to upgrade to get new features and generic improvements [and almost always, I do that] - Write test cases in Pest [that's indeed a "Breeze"] - And a zillion other things And, it helps me become a better developer, by abstracting the stuff that I have been doing for over 17 years as a PHP developer, and allows me to help businesses that pay me to create awesome apps for them. And, as you said, the coin indeed has both sides, and we can compare the sides, or choose the one that works for us and makes our life as developers a bit better. Or we can flip the coin and have some fun along the way...
BTW, to update the framework I use Laravel Shift service. It does all the stuff automated and with a nice atomic PRs for each update step. I find it very useful and simple. You can usually update the FW without writing a line of code. And the price it's very affordable.
This is seriously great. I've gone through a bunch of these overview tutorials for Laravel, and this one did a good job of making it all feel accessible. I especially appreciate that you went through everything in the project directory. 🙏
wow, all my friends are in the comments 😂 But seriously, and awesome video! Have you had a look at Filament Php? It can do some amazing things out of the box!
Firstly, I appreciate Aaron's deep dive into Laravel's features. The presentation was enlightening, and I can see why many developers find Laravel appealing because of the functionalities it offers right out of the box. However, I think it's important to note that a considerable part of Laravel's capability is built upon Symfony components. This isn't necessarily a negative aspect, but it's a point worth mentioning to give credit where it's due. Furthermore, while Laravel provides a lot of conveniences, I personally find Symfony's architecture to be more robust and flexible in the long run, which might not be immediately apparent to developers who are new to these frameworks. Lastly, I think it's worth acknowledging the tremendous work done by Symfony's developers, who have shown exceptional skill and dedication. While Laravel is quite adept at marketing their product, Symfony's team, in my opinion, could use a bit more recognition for their significant contributions to the PHP ecosystem. In the end, the choice between Laravel and Symfony will depend on the specific needs and preferences of each project and developer. Both frameworks have their strengths, and understanding these can help us make more informed decisions.
I love symfony. Can be incredible easy and really deep with lot of,option. Though when you try to do something specific and more obscur I found the doc really bad sometimes. But it won’t make me switch to larzvel.
@@choanlpoto I think anyone who is deeply good at Symfony wouldn't switch to Laravel - and when that happens, the reason is usually to secure a marketing advantage. I would never have noticed the documentation thing. In fact, I once took a year off from Symfony and looked at Laravel - one thing I really missed was the documentation. Nice to see you thinking outside the box though and thanks for your reply.
@@billparker174 it has PR and better marketing, that’s all. Outside of that, it’s a piece of badly written, bad architected, coupled software that encourages bad practices. And steels almost all of the good stuff from Symfony
Such an excellent Laravel tutorial and kudos. Glad to see SOMEONE out there on UA-cam championing Php for the server-side open source wonder that it is instead of just using it as a stale throwaway punchline. Php ain't what it used to be, and it's powering 80% of the web still. Php just cannot be slept on any longer. Subscribed! 👍
lol the funniest thing is that people are actually just finding out about laravel now that react is pretty much going the PHP route. Us OG's have been taking full advantage of everything that laravel has to offer for years... By the way great video
If I'm mostly working with wordpress small-medium websites, do I actually need to learn Laravel? For what? It looks super complicated for me from the distance.
My second framework that I work as a freelancer is Laravel (75% API for my Flutter apps) and i didn't know that all of this stuff exist in Laravel, My first one is Flutter, I love the Laravel more than Flutter. Thank you for your amazing content
Laravel is great. The ecosystem is awesome and it takes away a lot of work. For professional projects I prefer Symfony. I also think Symfony has the best documentation of any framework out there
I used Laravel like 7-8 years ago for pet projects. And suddenly one of my projects became viral and my Laravel app faced "Reddit effect". I didn't know much about infrastructure/highload back then and Laravel couldn't handle it as well. If I remember everything correct, PHP needs to start new thread and interpret all of your files from scratch on every incoming request. I'm not sure if it's true these days, anyways you should really think about caching tools if you're planning to use Laravel as it's really really heavy. And benchmarks says things didn't really changed. I compared Laravel to NestJS and it's 20x times slower. Then I compared NestJS to Gin (golang framework) and it's 2 times slower.
PHP does indeed start a new process for each request in a traditional Apache setup, and this used to be a significant performance concern. However, with the adoption of PHP-FPM and OpCache, php's performance and efficiency have greatly improved. OpCache can cache the bytecode of PHP scripts, removing the need to recompile them on every request.Laravel IS considered a "heavy" framework compared to micro-frameworks in other languages. However, this "weight" comes with features and flexibility. It's true that laravel might not be the best choice for ultra-high-performance applications where every millisecond counts, but it is suitable for a tons of applications.
I learned php where you had to write every single piece of code and it was so annoying! Thankfully that seem to have changed and have become more user-friendly for the delevoper. I did not understand everything said in the video as I have been away from coding php for years. I found it to be to difficult when you want to do something specific but seems like it has become easier with the framework. I am also thankful that end brackets is now automatically done for you as its a nightmare sorting throw syntax if you forget to end your syntax somewhere in the code. I may take a look at this framework.
My time with Laravel back in the 5.0 days was so influential, that I set up my Express JS projects in much the same way, creating my own utilities to replace features that Laravel gave for free. If I enjoyed PHP itself more, I likely would have stuck with laravel. It is still a source of inspiration today and I check in on it from time to time to see if there is something I am missing.
Wow^100 @Aaron, I think your channel is so underrated...I appreciate all the effort you clearly put into making your videos! Quick quesiton regarding Laravel Jetstream (#24:44) I don't have enough info, but I heard that Breeze is way less complicated? Do you think that is the case based on your experience? Should I invest time into learning/integrating it into my SaaS idea? Thanks!
Awesome video. Laravel is really awesome. Have some suggestions for part 2 1. Setting development environment and things like Debugging with break points in vscode 2. Benchmarks with other language frameworks like nestjs, spring boot, django 3. Web vitals benchmarks
i've used laravel 5 from 2017-2019 then stopped programming. i just came back this january 2023 of using laravel 9 and 10, i was blown away by how much it has change for the better. it's so awesome!
This is a fantastic introduction to the ecosystem, whether you’re brand new or coming from a completely different stack, it just makes total sense and flows wonderfully. Great video all around!
pretty wild that people getting into this now get to start with laravel 10/11+ when it is insanely capable and not dealing with all the quirks of PHP < 7 and older laravels lol
Laravel might become my main stack individual since I discovered InertiaJS, I was about to make a SvelteKit app but got myself wandering about Auth and secure routes and I know page.server and server js files are rendered on the server but still there is too much to configure, with Laravel I have everything on my hands
@@michielarkema The issue with Inertia is that you don't get the SEO and performances of SSR. Your route doesn't serve HTML, instead it serves a blank index placeholder with a JSON object and the after the browser loads it's the client that builds the DOM from this object. Laravel is the best stack for back-end, not even close to anything else, but when it comes to building the front-end if you aren't going to use Blade templating then it makes more sense to use a JavaScript Metaframework (Nuxt, SvelteKit, SolidStart, etc...).
@@charlesm.2604how about Rails 7? I'm building an app right now using microsevices architecture, Im think of using rails for the smaller functionalities.
I know that all other frameworks have almost 80% of the features of laravel however, i never saw convinient implementations of functionality such as laravel
" How does php run on lamda? DOSEN'T MATTER!!!" Got me dying 😅😅😅 But for real framework works like laravel are the future... the amount of boilerplate and configuration out of the box is unmatched in any web dev ecosystem
This simply cannot be, I thought, watching this a few weeks back and now I find myself writing V10 and 11 apps with livewire, sail, jetstream and filament. I'm deploying to containers, my chosen architecture and it *just works*. So thanks for this video, I don't think i would have looked at V10 even lest for viewing this. Looking forward to get into reverb, apis and perhaps even intertia with react. Somebody, stop me. Oh, oh and there are events / listeners and queues. So much batteries included, I think this beats rails or am I going too far now ? It could in some use cases replace Firebase and be your own self hosted sort of BaaS. And I dont have to use nasty brackets in PHP pages like in the olden times. It even has type hints. This is modern and progressive. Ok, PHP is not Java but you don't have to work on something for weeks, more like days or hours to create an MVP. I am impressed.
Just switching back over to php after first learning it in the year 2000. Also, have spent most of my time either coding .NET web apps or using some JS framework. I will say i like laravel after building everything from scratch all the time. Life is so much easier for my personal projects.
umm lot of springboot vibes. given java is arguably a more robust language and 100% has a more advanced VM why would anyone choose laravel over springboot? What is the main advantage here? Trying to understand from a perspective of someone who has used both technologies.
This video made me learn Laravel 8, 9 and 10... why that scale? laravel 8 because is the one allowed in my shared web hosting... and the 9 to know the 10... the 10 is more robust but simplificated.
Laravel has always been my favorite PHP Framework. I think the way it does things make so much more sense than most other things (like *cough cough* Symfony *cough cough*), and the DX is much better
As a laravel vet, good overview. I tend to use like 25% of all the things it has and I don't really dig the OOP obsessed style it has, but its actually not that opinionated about your app structure, as long as you respect routing you can pretty much do anything you want
I've always preferred homemade custom code and have been wary of depending on frameworks because we never know what will happen next. However, the way you put it makes it quite exciting, actually. :) Maybe I need to update my PHP coding to 2023 standards.
I wouldn't say PHP is the future, but I'm happy for it since it's finally crawling out of the phase where everyone shits on it for some reason If any language deserves to be shit on, it's JavaScript, not PHP
Laravel is great and also php but if you look at the salaries they are about 20% less the python with django and even smaller if you compare them with golang or kotlin.
Job opportunities are higher though. GoLang is super competitive so you have less chances to land a job, Python isn't first-class citizen for web applications so there are barely any listings for it and Kotlin is mostly for mobile development as it stands (you'll have many more opportunity with Java for web development). I don't know what country you are from but here (France), the vast majority of back-end web development listings are for e-commerce and the software is built on PHP (wether through Laravel or Symphony). By majority I mean 7-8/10 listings.
@@sujit_webdevShort answer: not as common as it used to be. Long answer: I'm in my mid 20s and I never came across a Ruby codebase in my *small* career but I've heard from co-workers that agencies used to leverage Ruby On Rails to make their in-house CMS that power customer's websites a few years ago. It makes sense as those kinds of websites are usually just portals to a business, with a contact page, a blog section and a little e-commerce front end. If we're talking about start-ups and other types of projects with scalability needs (SaaS, realtime, serving worldwide users, etc.) then we'd usually throw monolith out of the equation altogether. We're talking about the French market though so it is probably different in other countries.
Laravel is great but i didn't find any gd tutorial on it. It's community is not big so it has very low quantity content. If any of you like please suggest me something free and great at the same time for indepth laravel.
@@aarondfrancis I am. Your premise is to suppose that PHP, and Laravel, will be the most widely used and most widely loved technology for both front end and back end implementation. - And that premise is 100% not going to happen.
@@aarondfrancis I’ve been part of several initiatives to migrate large organizations away from PHP to other technologies in the past 10 years. Most recently away from Laravel to Java, Kotlin, Typescript, Go or Rust. - I understand that we each live within our own ecosystem, but in my ecosystem, PHP won’t ever be the future. It doesn’t scale as well as other technologies and whatever purposeful reason you are using PHP for, there are other technologies that do it better.
Thanks Aaron! This will go straight to our resources section in our onboarding process for new devs! Just right next to your "Mysql for Developers" Course from planetscale. You are a great teacher, thank you so much man!
I had to pick a framework for PHP a few years ago and evaluated four. Symfony, Laravel, CodeIgniter, and Yi. I'm a longtime Drupal developer and assumed Symphony would be my choice but CodeIgniter 4 ended up being the one. Laravel just didn't do it for me. I found Artisan unnecessary. I'm also a DBA and prefer to use raw SQL for everything and don't use the migration facilities. Also using cron and Redis is natural for me and don't find much benefit in my framework handling it all. Symphony was overkill. Yi didn't measure up. CodeIgniter 4 is butt simple while keeping your code organized and manageable no matter how big the project.
thank you for this amazing video, can i ask why people of javascript always says javascript stack like MERN .... are the best, is it just marketing. im a teacher and i want to make shift career to webdev (backend stuff), any advice are welcome. thank you
Laravel is horrible, there are so many god damn "products" associated with it, it's a jumbled mess and not worth the time to even bother trying to figure out. The future is client side, not server side. If you don''t know this by now then you're beyond help's reach.
Laravel looks like a very interesting framework I see it comes with so many built in tools. I am using Django at the moment. Laravel looks like a HUGE framework bundled with so much tooling and way more complicated in comparison to Django, almost intimidating. But I can see it is an excellent framework. If you're a solo developer is it a good framework for quick development like Django? Also, do you need to create within the terminal a local environment? Just curious, I will check out the Laravel docs.
When economics play a role PHP should be the first choice. Django is dramatically slower than Laravel. If you have to deal with a lot of traffic Python or Ruby can become a costly choice.
@@HaraldEngels Thank you Harald for getting back to me I appreciate the feedback. I still have my eye on PHP, I may use it on my next project. But at the moment I am working on a simple web app not even using Django. I am using Python and importing SQLite3 to store basic data and Vanilla JavaScript on the client for basic functions like alerts and trying to figure out how to connect SQLite3 to JavaScript. So Vanilla PHP is easier to use for the back end? Does PHP have a way to import an SQLite3 like Python? Or is there another method for storing data without using a framework? I am in the process of Googling solutions using PHP to see which is more beneficial. Thank you so much Harald for getting back to me you gave me a perspective to consider.
I don't know why people hate Symfony over Laravel while they are literally the same and offers same features. Symfony requires more config and more lines of code but Symfony can scale better and unopinionated you can configure it as you please.
I don't think that anyone hates Symfony though? Laravel is built on some Symfony components! But to say that they are the same and offer the same features is not quite accurate in my opinion.
I wasn't able to get through the entire vid, but what I can say is that, although I like Laravel, unfortunately I don't have mega bucks to spend on an ecosystem to support my applications.
Great job with the video Aaron! 👏If anyone's looking for more Laravel or PHP videos, we released task scheduling and Monolog tutorials to help the community too 💪
Awesome video man!
Thanks Wes! That means a lot 🥹
haha using vue ecosystem vite bundler (based on esbuild , wich is written in Go..) and then claiming PHP is the future is pretty funny... :DDD
@@Microphunktv-jb3kj Tooling and web frameworks aint the same. No one is writing a bundler in PHP
👋@WesBos
@@WesBos I'm trying to get that lambo with PHP
I came from Wordpress about 10+ years ago and switched to Laravel before getting into React, node and nextjs. Over 10 years later and I'm back to Laravel with livewire. Feels so much better. Easier to actually build things.
I'm trying to learn React for the front-end, but I'm unsure what to pick between Laravel and NextJS. What are your thoughts?
The fact you cam serve the Laravel from a shared web hosting makes it appealing to me for a project I have on list, but is worth NextJS more attention? How capable is NextJS to handle the SQL database ?
@@name_less227 That's what I'm looking for. Thank you!
I think I will use the Laravel for what I have in mind (a product bundle configurator with some extra features you mention), and give NextJS for a smaller app.
After WordPress, anything's gotta seem wonderful. ;)
@@overPowerPenguinget into Livewire. Trust me.
@@overPowerPenguin I had the same dilemma , wheathr to go javascript (nodejs , next.js, mongodb) or PHP(laravel , postgres) , most of my project are simple content management
Been writing PHP code since 2004 or so, but last I used Laravel in depth was 2014. It really hasn’t changed all _that_ much since then. That’s actually good to see since it means that not only is it very stable, but it hasn’t _needed_ to change much either.
Your post illustrates the importance of good initial design and a reasonable amount of planning. I started with Laravel in 2012 or so, and I have been able to accumulate my understanding of it over time rather than re-learn everything at major-release time. You are right to call this out as a beneficial property, a subtly important one to the health of all software ecosystems.
PHP is a stable language, and Laravel is the most stable framework ever to exist.
Holy crap. This video just connected SO MANY DOTS dots for me. I've been working on a Laravel project (a Statamic website) for about a year but I haven't had to do much tinkering with Laravel itself. I've slowly been exposed to all the inner workings but I didn't really understand how it all came together. Thank you for this video!!
I'm sick of react and the elitist mentality of Next and trying to give Apple vibes and making web dev seem like rocket surgery
I have done many paradigms from imperative to functional, heck even Prolog. No, it's not "just a function"
I started working with Sveltkit this week and oh man is it good
But this, this is pure gold 🥇,
name an equivalent js framework. I'll wait...
I'm not sure how people got trapped in SPAs, let's let the server do server work again
Thank you for this beautiful video
Not sure if it's equivalent but there is AdonisJS which aims to be like the Laravel for Node.
@@JSLegendDev Adonis is pretty similar to Laravel. Problem with it is it is mostly developed by one dev and is not very well recognized within the nodejs community. hence Future of the project is uncertain. Otherwise pretty great one.
Nuxt js
It is great to see that PHP frameworks - and especially Laravel - are leaving more and more the web-development frameworks in other languages (Python, Ruby, JS) in the dust. Although I am not using Laravel I am grateful for what Laravel (and Wordpress) have done for the survival and dominance of PHP in the web.
I’m a computer science graduate in my school we learned programming using JAVA. And when it was time for internship the company was using Laravel for their entire backend And I was forced to learn Php & Laravel (it took me 3 weeks ). And Built great things with Laravel and now I think Laravel is my main web technology (I can still work with spring boot,…) but I love the way Laravel makes things easy…
Can you believe me if I tell you that I've learned Laravel & last week someone told me Laravel and php are not used in my city and the most used was Java & Angular ? so since then I'm learning Java in order to find a Job 🤣
@@AdmW9609 Java is still the boss and one must know it (knowing Java is a flex )
@@AdmW9609 me too
@@tresorkl yo bro which java framework would you suggest for web backend?
@@kamaleshselvam2850 SPRING BOOT is the best
Laravel is eay more superior
The number of things we take for granted here in the community is honestly just mind-blowing
Oh my! Really questioning my life choices as a Typescript dev. Feels like I've been living under a rock cobbling together a dozen npm packages for each simple feature I need. Laravel here I come.
Can't tell you how happy this makes me
Laravel is way more superior than any other language frameworks. NodeJS ecosystem is more cluttered that makes us spend more time setting up the project than actually building the app. My head spins just installing many packages and reading dozens of documentations of those.
You are comparing a framework ( Laravel ) with a language ( TypeScript ).
@Sheki Shral he clearly meant Node/Express.
Have you tried NestJS?
Laravel isn't all perfect. From a developer perspective, it pushes changes way too frequently, making you fell like you're always falling behind. There's a cult around that it is perfect. Well it has it's own process which puts you far away from PHP itself. If you ever feel like you need to change, well, you're closed off to it.
While it allows for fast prototyping and has a good DX, the ecosystem is very self-contained, forcing you to a certain way of thinking (Laravel way TM) and nothing else. Some might consider this a benefit, others a drawback. I have been on the two sides of the coin, now am in the latter as I feel constrained by the framework after creating apps with it for a while.
I love how everyone in Laravel community pushes to say that Laravel Vapor is very simple. Experiment run an app through Vapor and needing support from them - 95% of the time they'll tell you it's a problem with your app, that they don't plan on supporting X and to fuck off and just pay.
This to say, Laravel community is an echo chamber. Be careful and thoughtful. As for Laravel itself, great framework with lots of cool stuff out of the box, but all that can be done elsewhere too.
You could say this for any language or package and their cult followers.
They all are built in a way that works best for the creator. Every language has downfalls and their perks.
I agree with you. Laravel isn't perfect at all.
Laravel is an opinionated framework, and there are a lot of things in the ecosystem as well that are very much opinionated - as you mentioned "Laravel way TM"
Enough rejected PRs have confirmed this.
Does it stops me as a developer from overriding any functionality, in whatever manner I feel like?
No.
Does it forces me to update the framework whenever there is a change?
No.
Shall it reduce the frequency because most of the developers are unable to upgrade/catch-up?
No.
Haven't used Vapor myself, and I would agree to what you say about the experience, and yes, enough rejected PRs give a similar taste.
At the end of the day, Laravel does helps me:
- Get stuff done
- Gives me option to upgrade to get new features and generic improvements [and almost always, I do that]
- Write test cases in Pest [that's indeed a "Breeze"]
- And a zillion other things
And, it helps me become a better developer, by abstracting the stuff that I have been doing for over 17 years as a PHP developer, and allows me to help businesses that pay me to create awesome apps for them.
And, as you said, the coin indeed has both sides, and we can compare the sides, or choose the one that works for us and makes our life as developers a bit better.
Or we can flip the coin and have some fun along the way...
BTW, to update the framework I use Laravel Shift service. It does all the stuff automated and with a nice atomic PRs for each update step. I find it very useful and simple. You can usually update the FW without writing a line of code. And the price it's very affordable.
@@garffild I used Shift for a formerly Lumen project and was really impressed
They only release major updates once a year now, which is not very often. Even those major updates usually have very few BC breaks!
Already following you on Twitter, I have been thinking about switching to Python but Php 8 + Laravel seems better than Python trend
If you’re developing for the web (backend), it definitely is.
I never thought I would go back to php, but my goodness did you show me that there is no reason not to use it!
This is seriously great. I've gone through a bunch of these overview tutorials for Laravel, and this one did a good job of making it all feel accessible.
I especially appreciate that you went through everything in the project directory. 🙏
Thanks Justin! And thanks for the tip to add markers. Added 😎
wow, all my friends are in the comments 😂
But seriously, and awesome video!
Have you had a look at Filament Php? It can do some amazing things out of the box!
Firstly, I appreciate Aaron's deep dive into Laravel's features. The presentation was enlightening, and I can see why many developers find Laravel appealing because of the functionalities it offers right out of the box.
However, I think it's important to note that a considerable part of Laravel's capability is built upon Symfony components. This isn't necessarily a negative aspect, but it's a point worth mentioning to give credit where it's due.
Furthermore, while Laravel provides a lot of conveniences, I personally find Symfony's architecture to be more robust and flexible in the long run, which might not be immediately apparent to developers who are new to these frameworks.
Lastly, I think it's worth acknowledging the tremendous work done by Symfony's developers, who have shown exceptional skill and dedication. While Laravel is quite adept at marketing their product, Symfony's team, in my opinion, could use a bit more recognition for their significant contributions to the PHP ecosystem.
In the end, the choice between Laravel and Symfony will depend on the specific needs and preferences of each project and developer. Both frameworks have their strengths, and understanding these can help us make more informed decisions.
Good GPT.
Ok we saw you.. bye
I love symfony. Can be incredible easy and really deep with lot of,option. Though when you try to do something specific and more obscur I found the doc really bad sometimes. But it won’t make me switch to larzvel.
@@choanlpoto I think anyone who is deeply good at Symfony wouldn't switch to Laravel - and when that happens, the reason is usually to secure a marketing advantage.
I would never have noticed the documentation thing. In fact, I once took a year off from Symfony and looked at Laravel - one thing I really missed was the documentation.
Nice to see you thinking outside the box though and thanks for your reply.
There are many packages laravel built on. Lets give credits to every, why only symphony.
Symfony for the win! No magic, no coupling, no crazy ORM, no static proxies aka "facades"
Glad you like Symfony!
@@billparker174 it has PR and better marketing, that’s all.
Outside of that, it’s a piece of badly written, bad architected, coupled software that encourages bad practices.
And steels almost all of the good stuff from Symfony
Saw you on prime's channel and it was really well done. Subbed to try and get back into PHP after living in wordpress hell 6+ years ago.
Such an excellent Laravel tutorial and kudos. Glad to see SOMEONE out there on UA-cam championing Php for the server-side open source wonder that it is instead of just using it as a stale throwaway punchline. Php ain't what it used to be, and it's powering 80% of the web still. Php just cannot be slept on any longer. Subscribed! 👍
Laravel Daily is a bless for learning Laravel
lol the funniest thing is that people are actually just finding out about laravel now that react is pretty much going the PHP route. Us OG's have been taking full advantage of everything that laravel has to offer for years... By the way great video
Thank you! We welcome all react devs with open arms
So good Aaron! If someone asks you, "Why Laravel?" send them this video. 🔥
If I'm mostly working with wordpress small-medium websites, do I actually need to learn Laravel? For what? It looks super complicated for me from the distance.
My second framework that I work as a freelancer is Laravel (75% API for my Flutter apps) and i didn't know that all of this stuff exist in Laravel, My first one is Flutter, I love the Laravel more than Flutter. Thank you for your amazing content
Well done!
Also worth to mention validation, translation and mailables 👍
I know right! I left so much out and it was still 30+ minutes.
Queue 😍
Laravel is great. The ecosystem is awesome and it takes away a lot of work. For professional projects I prefer Symfony. I also think Symfony has the best documentation of any framework out there
Bro, please do some extra video. I love how you explain.
First one on UA-cam, but certainly not the last! If you want to learn MySQL I did a whole course at PlanetScale.com/MySQL. Appreciate your kind words
This is great, was a flawless presentation! I already work with laravel and we just keeping delivery apps 😃
Aaron, can we get a video on Laravel starter packs? I heard there were some well established ones that bootstrap a SaaS very efficiently.
Yes, for sure!
I used Laravel like 7-8 years ago for pet projects. And suddenly one of my projects became viral and my Laravel app faced "Reddit effect". I didn't know much about infrastructure/highload back then and Laravel couldn't handle it as well. If I remember everything correct, PHP needs to start new thread and interpret all of your files from scratch on every incoming request. I'm not sure if it's true these days, anyways you should really think about caching tools if you're planning to use Laravel as it's really really heavy.
And benchmarks says things didn't really changed. I compared Laravel to NestJS and it's 20x times slower. Then I compared NestJS to Gin (golang framework) and it's 2 times slower.
PHP does indeed start a new process for each request in a traditional Apache setup, and this used to be a significant performance concern. However, with the adoption of PHP-FPM and OpCache, php's performance and efficiency have greatly improved. OpCache can cache the bytecode of PHP scripts, removing the need to recompile them on every request.Laravel IS considered a "heavy" framework compared to micro-frameworks in other languages. However, this "weight" comes with features and flexibility. It's true that laravel might not be the best choice for ultra-high-performance applications where every millisecond counts, but it is suitable for a tons of applications.
I learned php where you had to write every single piece of code and it was so annoying! Thankfully that seem to have changed and have become more user-friendly for the delevoper. I did not understand everything said in the video as I have been away from coding php for years. I found it to be to difficult when you want to do something specific but seems like it has become easier with the framework. I am also thankful that end brackets is now automatically done for you as its a nightmare sorting throw syntax if you forget to end your syntax somewhere in the code. I may take a look at this framework.
I get it Laravel is great, but how about the underlying language? what are the resources to get good in PHP?
Laracasts has a free series on PHP laracasts.com/series/php-for-beginners-2023-edition
Program with Gio has an insanely deep PHP 8 tutorial series ua-cam.com/video/sVbEyFZKgqk/v-deo.html
Made this whole video without mentioning spatie 😂😂😂😂
not saying Laravel is not okay, but this is absolutely not the future, and PHP even less.
That's ok! We can check back in ten or so years
i'm python developer and i use Django in my day-to-day work, i have to confess Laravel is awesome
Great video. Well scripted, has great flow and is easy to understand.
Great video! I totally agree that PHP/Laravel is the future and it deserves more respect and recognition.
If it deserves more respect and recognition, it'd get it. Nobody is conspiring against PHP/Laravel.
Dude didn't mention passport 😂😂
Yeah, Passport and Sanctuary both make SPA development super easy.
My time with Laravel back in the 5.0 days was so influential, that I set up my Express JS projects in much the same way, creating my own utilities to replace features that Laravel gave for free. If I enjoyed PHP itself more, I likely would have stuck with laravel. It is still a source of inspiration today and I check in on it from time to time to see if there is something I am missing.
Wow^100 @Aaron, I think your channel is so underrated...I appreciate all the effort you clearly put into making your videos!
Quick quesiton regarding Laravel Jetstream (#24:44) I don't have enough info, but I heard that Breeze is way less complicated? Do you think that is the case based on your experience? Should I invest time into learning/integrating it into my SaaS idea? Thanks!
was expecting comedy, found rejection, ignorance, and arrogance
Sorry to hear that. Hopefully you'll like future videos more!
Awesome video. Laravel is really awesome. Have some suggestions for part 2
1. Setting development environment and things like Debugging with break points in vscode
2. Benchmarks with other language frameworks like nestjs, spring boot, django
3. Web vitals benchmarks
Good ideas!
99% of businesses give no damn about benchmarks because programmers are much much pricier than servers also because PHP is fast enough already.
wait before that happens... "vscode" like really ? I hope its not for php or for the matter-of-facts any large framework
i've used laravel 5 from 2017-2019 then stopped programming. i just came back this january 2023 of using laravel 9 and 10, i was blown away by how much it has change for the better. it's so awesome!
This is a fantastic introduction to the ecosystem, whether you’re brand new or coming from a completely different stack, it just makes total sense and flows wonderfully.
Great video all around!
Learned from the best (you)
pretty wild that people getting into this now get to start with laravel 10/11+ when it is insanely capable and not dealing with all the quirks of PHP < 7 and older laravels lol
Php is not future. New technologies like Laravel just suffocate him.
Remind me of this in ten years! ❤️
@@aarondfrancis It's a deal!
5 Years ago I tried Rails, Django and Laravel, and at that time Laravel was the easier, and now it is the most fun
Laravel might become my main stack individual since I discovered InertiaJS, I was about to make a SvelteKit app but got myself wandering about Auth and secure routes and I know page.server and server js files are rendered on the server but still there is too much to configure, with Laravel I have everything on my hands
Dude InertiaJS is fricking awesome. I've been using it for my own business projects lately and it's really next level.
@@michielarkema The issue with Inertia is that you don't get the SEO and performances of SSR.
Your route doesn't serve HTML, instead it serves a blank index placeholder with a JSON object and the after the browser loads it's the client that builds the DOM from this object.
Laravel is the best stack for back-end, not even close to anything else, but when it comes to building the front-end if you aren't going to use Blade templating then it makes more sense to use a JavaScript Metaframework (Nuxt, SvelteKit, SolidStart, etc...).
@@charlesm.2604 you can use --ssr option when you install it and it will ssr all your pages
@@charlesm.2604how about Rails 7? I'm building an app right now using microsevices architecture, Im think of using rails for the smaller functionalities.
Haha, just like pentium duel core or Celeron is the future.
Thanks for the comment! All comments help 🙌
This video made me change my opinion about PHP
Keep it up!
I know that all other frameworks have almost 80% of the features of laravel however, i never saw convinient implementations of functionality such as laravel
" How does php run on lamda?
DOSEN'T MATTER!!!" Got me dying 😅😅😅
But for real framework works like laravel are the future... the amount of boilerplate and configuration out of the box is unmatched in any web dev ecosystem
This simply cannot be, I thought, watching this a few weeks back and now I find myself writing V10 and 11 apps with livewire, sail, jetstream and filament. I'm deploying to containers, my chosen architecture and it *just works*.
So thanks for this video, I don't think i would have looked at V10 even lest for viewing this.
Looking forward to get into reverb, apis and perhaps even intertia with react. Somebody, stop me. Oh, oh and there are events / listeners and queues. So much batteries included, I think this beats rails or am I going too far now ? It could in some use cases replace Firebase and be your own self hosted sort of BaaS. And I dont have to use nasty brackets in PHP pages like in the olden times. It even has type hints. This is modern and progressive. Ok, PHP is not Java but you don't have to work on something for weeks, more like days or hours to create an MVP. I am impressed.
Just switching back over to php after first learning it in the year 2000. Also, have spent most of my time either coding .NET web apps or using some JS framework. I will say i like laravel after building everything from scratch all the time. Life is so much easier for my personal projects.
Why do you have two adblocks?
Do you mean ad breaks in the video? Or ad blockers on my browser?
umm lot of springboot vibes. given java is arguably a more robust language and 100% has a more advanced VM why would anyone choose laravel over springboot? What is the main advantage here? Trying to understand from a perspective of someone who has used both technologies.
This video made me learn Laravel 8, 9 and 10... why that scale? laravel 8 because is the one allowed in my shared web hosting... and the 9 to know the 10... the 10 is more robust but simplificated.
Laravel has always been my favorite PHP Framework. I think the way it does things make so much more sense than most other things (like *cough cough* Symfony *cough cough*), and the DX is much better
As a laravel vet, good overview. I tend to use like 25% of all the things it has and I don't really dig the OOP obsessed style it has, but its actually not that opinionated about your app structure, as long as you respect routing you can pretty much do anything you want
I've always preferred homemade custom code and have been wary of depending on frameworks because we never know what will happen next. However, the way you put it makes it quite exciting, actually. :) Maybe I need to update my PHP coding to 2023 standards.
Sorry but Go is a better option
Thanks for the comment! Every comment helps spread the good news of PHP. Do not be sorry
@@aarondfrancis After that, the video itself and your presentation are top-notch !
I wouldn't say PHP is the future, but I'm happy for it since it's finally crawling out of the phase where everyone shits on it for some reason
If any language deserves to be shit on, it's JavaScript, not PHP
The best summary of Laravel in the world! 🤩 Great job 👍
I've been using Laravel for years and love it ♥
Yeah but it just doesn't ever scale - it's so slow. It's programming for non programmers.
Thanks for the comment! I disagree
Please next increase the volume of the audio for the video.
Please post more video about programming!
I will!
Laravel is great and also php but if you look at the salaries they are about 20% less the python with django and even smaller if you compare them with golang or kotlin.
Job opportunities are higher though. GoLang is super competitive so you have less chances to land a job, Python isn't first-class citizen for web applications so there are barely any listings for it and Kotlin is mostly for mobile development as it stands (you'll have many more opportunity with Java for web development).
I don't know what country you are from but here (France), the vast majority of back-end web development listings are for e-commerce and the software is built on PHP (wether through Laravel or Symphony). By majority I mean 7-8/10 listings.
@@charlesm.2604 Thanks for sharing this insight. What about RubyOnRails ?
Yeah... but there are certainly a lot more of those jobs.
@@sujit_webdevShort answer: not as common as it used to be.
Long answer:
I'm in my mid 20s and I never came across a Ruby codebase in my *small* career but I've heard from co-workers that agencies used to leverage Ruby On Rails to make their in-house CMS that power customer's websites a few years ago.
It makes sense as those kinds of websites are usually just portals to a business, with a contact page, a blog section and a little e-commerce front end.
If we're talking about start-ups and other types of projects with scalability needs (SaaS, realtime, serving worldwide users, etc.) then we'd usually throw monolith out of the equation altogether.
We're talking about the French market though so it is probably different in other countries.
@@charlesm.2604 Thanks so much for this detailed level of answer
You only scratched the surface of what Laravel can do there is Mailabels, Queues, Authorization, Authentication ... Laravel is above and beyond
Agreed!
Laravel is great but i didn't find any gd tutorial on it. It's community is not big so it has very low quantity content. If any of you like please suggest me something free and great at the same time for indepth laravel.
Laravel is cool, but PHP is 100% definitely NOT the future.
Are you 100% sure?
@@aarondfrancis I am. Your premise is to suppose that PHP, and Laravel, will be the most widely used and most widely loved technology for both front end and back end implementation. - And that premise is 100% not going to happen.
@@adamjones7497 Nah I didn't say it was gonna be most widely used for the frontend. Did you watch the frontend part?
@@aarondfrancis I’ve been part of several initiatives to migrate large organizations away from PHP to other technologies in the past 10 years. Most recently away from Laravel to Java, Kotlin, Typescript, Go or Rust. - I understand that we each live within our own ecosystem, but in my ecosystem, PHP won’t ever be the future. It doesn’t scale as well as other technologies and whatever purposeful reason you are using PHP for, there are other technologies that do it better.
Started webdev in Laravel actually years ago, switched to join the spaghetti world of Javascript, deeply regret it.
I love Laravel + inertia ♥
can i use eloquent without laravel? currently using propel orm, but sadly, it seems ded
"If you want serverless cause serverless is awesome. Who knows what that means, but it's awesome, right?" 🤣
spent years learning how to do all these things in javascript, had no idea that php had it all figured out in one package like this!
I just got into laravel and I havnt written any code yet but I'm loving ittt
It has crazy features already done
Thanks Aaron! This will go straight to our resources section in our onboarding process for new devs! Just right next to your "Mysql for Developers" Course from planetscale. You are a great teacher, thank you so much man!
I'm not sure how I ended up here, but I just realized that this is your first tech video. Good luck on your new journey!
Thank you! I'm excited
Great Work Aaron. You are a good representative of the community.
🥹 thanks Daniel
Who worked with Symfony and Laravel and can make an honest comparison?
I had to pick a framework for PHP a few years ago and evaluated four. Symfony, Laravel, CodeIgniter, and Yi. I'm a longtime Drupal developer and assumed Symphony would be my choice but CodeIgniter 4 ended up being the one. Laravel just didn't do it for me. I found Artisan unnecessary. I'm also a DBA and prefer to use raw SQL for everything and don't use the migration facilities. Also using cron and Redis is natural for me and don't find much benefit in my framework handling it all. Symphony was overkill. Yi didn't measure up. CodeIgniter 4 is butt simple while keeping your code organized and manageable no matter how big the project.
Glad you found something you like
Try to use adonis js a node based framework…..i will be familiar for laravel developer
Nice²
Thanks 2!
PHP has finally crawled back to life from the brink of death many times
thank you for this amazing video, can i ask why people of javascript always says javascript stack like MERN .... are the best, is it just marketing. im a teacher and i want to make shift career to webdev (backend stuff), any advice are welcome. thank you
Great question, I'm not sure really. I think there's a lot of VC money in the JS ecosystem
I think php is still good for websites. Laravel is not my fav framework though its bad performance in real scenarios. I use Yii2 for my projects.
Have you ever run into bad performance with Laravel?
We are working with nest js i just hate it i hate react and typescript just want to go back to php
I'm curious about the speed, is it fast enough to compete with the others?
Laravel is horrible, there are so many god damn "products" associated with it, it's a jumbled mess and not worth the time to even bother trying to figure out.
The future is client side, not server side. If you don''t know this by now then you're beyond help's reach.
Good luck, to us both.
Laravel looks like a very interesting framework I see it comes with so many built in tools. I am using Django at the moment. Laravel looks like a HUGE framework bundled with so much tooling and way more complicated in comparison to Django, almost intimidating. But I can see it is an excellent framework.
If you're a solo developer is it a good framework for quick development like Django? Also, do you need to create within the terminal a local environment? Just curious, I will check out the Laravel docs.
Yes definitely. I personally use Laravel for 99% of my projects simply because it's that amazing. It literally saves days of work.
Yup! It's like Django for PHP, but I'd say more integrated and feature rich
@@aarondfrancis 99% of the time, Laravel is all you need haha.
Btw, Inertia with VueJS is fricking amazing as well.
When economics play a role PHP should be the first choice. Django is dramatically slower than Laravel. If you have to deal with a lot of traffic Python or Ruby can become a costly choice.
@@HaraldEngels Thank you Harald for getting back to me I appreciate the feedback. I still have my eye on PHP, I may use it on my next project. But at the moment I am working on a simple web app not even using Django. I am using Python and importing SQLite3 to store basic data and Vanilla JavaScript on the client for basic functions like alerts and trying to figure out how to connect SQLite3 to JavaScript.
So Vanilla PHP is easier to use for the back end? Does PHP have a way to import an SQLite3 like Python? Or is there another method for storing data without using a framework?
I am in the process of Googling solutions using PHP to see which is more beneficial.
Thank you so much Harald for getting back to me you gave me a perspective to consider.
I think it sounds great! Okey. so many names on things...its confusing 😳i want to use vanilla ...everything ..no library if its possible?
But... then you just have to build everything yourself?
I don't know why people hate Symfony over Laravel while they are literally the same and offers same features. Symfony requires more config and more lines of code but Symfony can scale better and unopinionated you can configure it as you please.
I don't think that anyone hates Symfony though? Laravel is built on some Symfony components! But to say that they are the same and offer the same features is not quite accurate in my opinion.
I wasn't able to get through the entire vid, but what I can say is that, although I like Laravel, unfortunately I don't have mega bucks to spend on an ecosystem to support my applications.
What would you need mega bucks for?
Bro you convinced me, Iwas a codeigniter fanboy, now I know that I will and study Laravel for the next weeks, until I do master it.
🫡🫡
Great job with the video Aaron! 👏If anyone's looking for more Laravel or PHP videos, we released task scheduling and Monolog tutorials to help the community too 💪
Yes! Laravel and Symfony are very good PHP frameworks, CodeIgniter is a 3rd option
@aarondfrancis, out of curiosity, have you ever tried Rails? Curious about your thoughts on the comparison.
I haven't! But I've admired it from afar
hey i'm interested in getting to know Laravel ... i'm a Drupal developer and actually would like to start working with Laravel
Love it! You should check out laracasts.com. They've got amazing tutorials
U should make ecommercer tutorial using laravel
i made a college project in laravel in 2017
Hahahahahah. Waht a joke. Php is awesome and I use it beyond what people normally use it for but is JavaScript a joke to you ?
I've never seen so many "ha's" in a row, glad you enjoyed it so much!
You meant django right ? Lol just kidding