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.
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
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!!
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'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!
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
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 🤣
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
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.
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.
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.
Been working with laravel for 8 years, and sometime I forget how cool it is for new project or new comers to the stack, it just makes sens and is pain free most of the time
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
Every developer I know who has used Laravel loved it but wanted it in another language. It is the best framework for web applications that I have seen.
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
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 have 13+ years of experience in PHP but was inclined to mern and python since last 4-5 years but now after seeing lots of Laravel progress I am thinking to switching back to Laravel Thanks Aron!
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.
I love this! I've grown tired of JS as a frontend developer and setting up a crap ton of things before being able to just build something. Trying Laravel for a bit since we use the stack at work as well. It's making me excited to learn again and build again. You and Josh Cirre are great resources!
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
Since 1998 I've used Yii, CodeIgniter, CakePHP and dabbled with Symfony, Silex, Slim and several attempts to write my own. Guess I should get round to Laravel
Strict typing in PHP is not just about the beauty of appearance; it's about practicality, reliability, and avoiding errors. Just like following a clear plan when building something, strict typing ensures that you use the right data types for the best results in your code. It's not just for looks; it's a practical approach that makes your code easier to understand and maintain.
I'm going through the same process right now building the same app with each of them! I think I'm going to go with Laravel because I like how the syntax looks and I like how big the community is compared to the other two.
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 appreciate your video. I have a previous background in php but haven’t worked as a developer in a few years. I was trying to get a job as developer again and didn’t realize how much Laravel does! Now I decided to just build a sass app for my current job!
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.
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.
Such an excellent Laravel tutorial and kudos. Glad to see SOMEONE out there on RUclips 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! 👍
AdonisJS is a JS framework inspired by Laravel if you don't like the idea of learning PHP but like the style of Laravel. AdonisJS 5 has been rewriten is typescript.
Longtime Laravel stan. Can I get a “hell yes?” Is it the only good framework? No. Is it a viable option for startups’ MVPs, exploratory POCs, and independent devs? Damn right it is.
Wow what an incredible and up to date analysis off all things amazing Laravel! Thank you! Only comment if someone has it already there is a great implementation of Laravel Valet for Linux that works beautifully!
Been using Laravel for the past 3 years. It's the best thing out there in my opinion. So easy and very good documentation and great videos at Laracast explaining the complexity parts of Laravel.
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!
I did PHP development back in 2000, then switched to Java, Kotlin, Node, TypeScript, Python, etc. I got fed up with the JS ecosystem, and decided to dive back into PHP and Laravel in August. And I'm sooooooooooo pleasantly surprised. I've used MANY frameworks over the years, and Laravel is clearly on the very top of my list now. Spring is amazing in Java, but it doesn't do nearly as much as what Laravel does (fullstack!). In the Node ecosystem, Next.js is pretty cool, but it's unstable as hell, similar to the whole ecosystem. It's not mature at all. And I have been really deep down into some rabbit holes with the tooling, frameworks & al. Laravel is clearly top notch and mature in comparison. The closest I found before in nodeland was NestJS, which I covered in my book about TypeScript. The only thing I miss is type-safety. But there's certainly hope there for the future. I still need to dive into the code quality tooling (PHPStan & co).
The most important thing laravel update his own funactionality very consistently and hence it can be done its execution faster and faster in further future ...
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
@@aarondfrancis I've never really found anything worth using them. You have to be always checking every place you use the entities in for performance issues. So that is one problem added. It creates objects from rows.. right but it is not that hard to create library for that just like i did. It handles table relations.. you can easily do that by using composition which creates little bit of boilerplate that is in any case worth the performance issues you would have with ORM. It makes you want to move query conditions logic to "rich entities" and eventually end up with 800+ row fat entities.
@@aarondfrancis Though it might be OK for smallery projects, in larger projects you generally want more control over the program flow and DB calls and as less magic as possible.
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!
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.
The video I've been waiting for for a long time. Great job boy. I love your way of putting things. I'm not a native english speaker and your way of exposing is truly of quality.
I've grown severely dependent on Prettier after I moved into the JS world. I just love how straight forward it is, how opinionated it is, and how easy it is to get it to work both in VS Code and as part of a build pipeline. Does Laravel/PHP have a similar "de-facto formatting standard" that "just works", without a lot of hassle? What do you use personally, if anything, to keep your code beautifully formatted, without having to think about it a whole lot?
Wow, Aaron. Um, you spoke clearly enough but I barely understood a word you said. You see, this technology is pretty new to me and my head is still spinning. So, I have a puzzle/game written in JS, where the JS manages, well, everything. But I was thinking, it'd sure be nice to be able to track my users so I have an idea of how many are coming to the site, and at what level they're playing and how much they're using it. And rather than hard coding images, wouldn't it be nice if they were stored in a DB. And I'd love to have an admin page to manage that. I've done some PHP programming in the distant past, along with a MySQL DB. So my question is: is it worth it for me to learn a tool like Laravel? I mean, can it even handle pages largely generated in JS? Thanks!
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.
After 5+ years of developing with Laravel, I think the only thing it's missing is a good obfuscator for source code. I've tried Zend/Bolt, but it's not quite there. I hope Laravel or the community will create a first-party solution for push to obfuscate and deploy for Laravel code .
Love this! I think an objective look at Laravel and its ecosystem would lead most developers to ask, "why didn't I use this sooner?" Meanwhile, the JS ecosystem still doesn't have a consensus auth package - or, rather, "just use clerk". LOL.
Thank you, your video was very helpful. I come from a different stack, but on my new job there is a Laravel codebase. Your video kinda got me excited :)
Well said Aaron, one question I was waiting for an answer in your video but I didn't find it lol, how would you scale a large app based on Laravel please?
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
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.
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
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!!
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.
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.
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!
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
This video made me change my opinion about PHP
Keep it up!
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 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
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.
i'm python developer and i use Django in my day-to-day work, i have to confess Laravel is awesome
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!
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?
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.
This is great, was a flawless presentation! I already work with laravel and we just keeping delivery apps 😃
Why do you have two adblocks?
Do you mean ad breaks in the video? Or ad blockers on my browser?
So good Aaron! If someone asks you, "Why Laravel?" send them this video. 🔥
Been working with laravel for 8 years, and sometime I forget how cool it is for new project or new comers to the stack, it just makes sens and is pain free most of the time
So nice of you to give a shout out to Povilas. :)
Very cool video, and your enthusiasm is infectious. Keep it up!
Povilas is great! We're lucky to have him in the ecosystem
Its awesome. This is the video people should see if they really want to know how far PHP and its ecosystem has come.
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.
I just got into laravel and I havnt written any code yet but I'm loving ittt
It has crazy features already done
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 😍
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
Every developer I know who has used Laravel loved it but wanted it in another language. It is the best framework for web applications that I have seen.
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
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 have 13+ years of experience in PHP but was inclined to mern and python since last 4-5 years but now after seeing lots of Laravel progress I am thinking to switching back to Laravel Thanks Aron!
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
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
Thank you Aaron for this Laravel overview. I watched another of your videos on PHP and enjoyed that one too.
Glad you're enjoying the videos 🤗
I love this! I've grown tired of JS as a frontend developer and setting up a crap ton of things before being able to just build something. Trying Laravel for a bit since we use the stack at work as well. It's making me excited to learn again and build again. You and Josh Cirre are great resources!
I'm in love with Laravel. It's one of the reasons I decided to become a full-stack developer.
Laravel is eay more superior
The number of things we take for granted here in the community is honestly just mind-blowing
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
Exactly what I was looking for. And it even gives the possibility to have Vue on the frontend. Thank you !
Since 1998 I've used Yii, CodeIgniter, CakePHP and dabbled with Symfony, Silex, Slim and several attempts to write my own. Guess I should get round to Laravel
Great video. Well scripted, has great flow and is easy to understand.
@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
Alright...
I'm sold! I've been watching you recently and enjoy your informative videos.
Thanks for sharing this,
james
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!
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!
Strict typing in PHP is not just about the beauty of appearance; it's about practicality, reliability, and avoiding errors. Just like following a clear plan when building something, strict typing ensures that you use the right data types for the best results in your code. It's not just for looks; it's a practical approach that makes your code easier to understand and maintain.
I'm curious about the speed, is it fast enough to compete with the others?
5 Years ago I tried Rails, Django and Laravel, and at that time Laravel was the easier, and now it is the most fun
I'm going through the same process right now building the same app with each of them! I think I'm going to go with Laravel because I like how the syntax looks and I like how big the community is compared to the other two.
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 ruclips.net/video/sVbEyFZKgqk/видео.html
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 appreciate your video. I have a previous background in php but haven’t worked as a developer in a few years. I was trying to get a job as developer again and didn’t realize how much Laravel does! Now I decided to just build a sass app for my current job!
Love to hear that!
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!
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.
Best introduction to Lararvel world, I wish everyone who hate laravel see this video, or beginners.
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.
Great Video!
What shortcut or extensions are you using @7:44 to open searching by files and then you can open the folder for example?
I think that one is cmd+e in phpstorm
Thanks for explaining simply u answered all of my stupid questions throughout this video
Great Work Aaron. You are a good representative of the community.
🥹 thanks Daniel
For local development, isn't there also Homestead? The Vagrant box.
There is!
Thank you 🙏.. Laravel dev here..They really need to dip their toes to feel the power❤
wow, just wow, been using laravel for years now, also worked with python django.. but let me tell you, laravel is just love.
Such an excellent Laravel tutorial and kudos. Glad to see SOMEONE out there on RUclips 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! 👍
AdonisJS is a JS framework inspired by Laravel if you don't like the idea of learning PHP but like the style of Laravel. AdonisJS 5 has been rewriten is typescript.
Adonis is very good
Longtime Laravel stan. Can I get a “hell yes?”
Is it the only good framework? No. Is it a viable option for startups’ MVPs, exploratory POCs, and independent devs? Damn right it is.
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 have been using Laravel for years. Great video.
Thank you, It was a nice dive into laravel features.
Bro, please do some extra video. I love how you explain.
First one on RUclips, but certainly not the last! If you want to learn MySQL I did a whole course at PlanetScale.com/MySQL. Appreciate your kind words
Wow what an incredible and up to date analysis off all things amazing Laravel! Thank you! Only comment if someone has it already there is a great implementation of Laravel Valet for Linux that works beautifully!
InertiaJs and Breeze is the reason I use Laravel, Breeze has just added a Typescript support, and of course, Eloquent.
Been using Laravel for the past 3 years. It's the best thing out there in my opinion. So easy and very good documentation and great videos at Laracast explaining the complexity parts of Laravel.
Then you never heard of Symfony
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!
I did PHP development back in 2000, then switched to Java, Kotlin, Node, TypeScript, Python, etc. I got fed up with the JS ecosystem, and decided to dive back into PHP and Laravel in August. And I'm sooooooooooo pleasantly surprised. I've used MANY frameworks over the years, and Laravel is clearly on the very top of my list now. Spring is amazing in Java, but it doesn't do nearly as much as what Laravel does (fullstack!). In the Node ecosystem, Next.js is pretty cool, but it's unstable as hell, similar to the whole ecosystem. It's not mature at all. And I have been really deep down into some rabbit holes with the tooling, frameworks & al. Laravel is clearly top notch and mature in comparison. The closest I found before in nodeland was NestJS, which I covered in my book about TypeScript.
The only thing I miss is type-safety. But there's certainly hope there for the future. I still need to dive into the code quality tooling (PHPStan & co).
do you have advanced resources on events ,queues,jobs ....
can i use eloquent without laravel? currently using propel orm, but sadly, it seems ded
How does the function docs look like that?! Is it an extension?
Wow! So I’m definitely going to be learning Laravel! This is awesome!
The most important thing laravel update his own funactionality very consistently and hence it can be done its execution faster and faster in further future ...
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
Thanks! I did not know about the Bootcamp.Laravel.
Thank you I was looking for a vídeo like this for ages.
You don't need ORM but frameworks will force u use it amyway
ORMs are wonderful. I love databases and I still recommend using an ORM.
@@aarondfrancis I've never really found anything worth using them. You have to be always checking every place you use the entities in for performance issues. So that is one problem added. It creates objects from rows.. right but it is not that hard to create library for that just like i did. It handles table relations.. you can easily do that by using composition which creates little bit of boilerplate that is in any case worth the performance issues you would have with ORM. It makes you want to move query conditions logic to "rich entities" and eventually end up with 800+ row fat entities.
@@aarondfrancis Though it might be OK for smallery projects, in larger projects you generally want more control over the program flow and DB calls and as less magic as possible.
@@b4rt1j1 nah, disagree. thats ok tho
@@aarondfrancis Feel free to share your arguments otherwise it seems you don't have anything to say other than how amazing they are.
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)
Extremely insightful! Thank you for the great video :)
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.
Please, make an video about the Drupal 10?? Thank you!!!
The video I've been waiting for for a long time. Great job boy. I love your way of putting things. I'm not a native english speaker and your way of exposing is truly of quality.
I really appreciate that, thank you so much!
I've grown severely dependent on Prettier after I moved into the JS world. I just love how straight forward it is, how opinionated it is, and how easy it is to get it to work both in VS Code and as part of a build pipeline.
Does Laravel/PHP have a similar "de-facto formatting standard" that "just works", without a lot of hassle?
What do you use personally, if anything, to keep your code beautifully formatted, without having to think about it a whole lot?
Yes! We have PHP CS Fixer and the more opinionated tool Pint. I'll do a video on it!
Taylor should sponsor your videos. They are just so neat! 🤗
Great video! I'm going to make this my go-to video to point people at when they're interested in getting into Laravel 👍🏻
Wow, Aaron. Um, you spoke clearly enough but I barely understood a word you said. You see, this technology is pretty new to me and my head is still spinning. So, I have a puzzle/game written in JS, where the JS manages, well, everything. But I was thinking, it'd sure be nice to be able to track my users so I have an idea of how many are coming to the site, and at what level they're playing and how much they're using it. And rather than hard coding images, wouldn't it be nice if they were stored in a DB. And I'd love to have an admin page to manage that. I've done some PHP programming in the distant past, along with a MySQL DB. So my question is: is it worth it for me to learn a tool like Laravel? I mean, can it even handle pages largely generated in JS? Thanks!
Best PHP tuturial I've ever watched
Wow, thank you
playing with laravel since version 4 never saw video with this quality nice job btw you vs-code is soo nice give me that
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.
Fantastic!!! Whats is the best way to learn all this things ?
Laracasts.com, for sure!
@@aarondfrancis thanks a lot!!!
After 5+ years of developing with Laravel, I think the only thing it's missing is a good obfuscator for source code. I've tried Zend/Bolt, but it's not quite there. I hope Laravel or the community will create a first-party solution for push to obfuscate and deploy for Laravel code .
Love this! I think an objective look at Laravel and its ecosystem would lead most developers to ask, "why didn't I use this sooner?" Meanwhile, the JS ecosystem still doesn't have a consensus auth package - or, rather, "just use clerk". LOL.
Thank you, your video was very helpful. I come from a different stack, but on my new job there is a Laravel codebase. Your video kinda got me excited :)
I'm glad!
Well said Aaron, one question I was waiting for an answer in your video but I didn't find it lol, how would you scale a large app based on Laravel please?
I'll have to make another video!
@@aarondfrancis cool, looking forward to it mate 👍
@@webcodeuniversity they can be run on severless like AWS lambda
@@khangle6872 I don't think that's a good idea for scaling a large Laravel app
@@khangle6872 serveless is unnecessarily complicated even amazon is now realizing that. isnt it?
Awesome video! You made Laravel look like so much fun. And it is :D