I am a huge fan of Laravel, and I use it for about 90% of the projects I am involved, both professionally and personally. Taylor Otwell has done an amazing job as developer and curator of the Laravel codebase.
That said, I would love to learn how it’s built. Not just the parts that make it uniquely Laravel, but the core components and concepts that power modern PHP frameworks.
With that in mind, I am starting a series which looks as how these components are built and then explains how to build functionally similar components. I may finish it up by putting them together in a framework context and build one or two apps using that framework. This will take a long time.
I have no interest in building a better Laravel. My efforts (and those of other developers with enough time) would be far better spent contributing to Laravel. I have no interest in gathering a following for any new framework, or for it being used in production applications. My main goal for this entire series will be to learn and to teach.
I’m talking about rebuilding, as a mechanic carefully deconstructs an engine so he can understand and work on the parts.
Composer installs version 4.1.27 at the time of writing.
I will update the list below, as new articles are published.
- Part 1: Autoloading
- Part 2: Application
- Part 3: Environments
- Part 4: Start
- Part 5: Configuration
- Part 6: Cleaning Up
- Part 7: Request
- Part 8: Router
- Part 9: Route
- Part 10: Response
- Part 11: Recap
- Part 12: Basic Config
- Part 13: Environmental Config
- Part 14: Sessions
- Part 15: Laravel 5
I have launched https://rebuildinglaravel.com and Rebuilding Laravel to mirror this work.