Welcome to the course! In this first episode, we're diving into why you might want to build your own PHP framework from scratch. If you've ever used frameworks like Laravel or Slim, you've probably noticed that a lot of the inner workings are hidden away. Building our own means you'll get to see (and build) everything happening behind the scenes, which is a huge boost to your understanding as a developer.
We'll cover pretty much everything you'd expect from a modern framework – routing, controllers, views, service providers (with a container), and database access with models. We'll also tackle important features like authentication, configuration, security like CSRF protection, exception handling (think custom 404 pages), pagination, validation, flash messages, and more.
The structure of the project will be familiar if you've worked with big frameworks before, with folders for config, core, containers, HTTP, controllers, and middleware. By the end, you'll have a solid framework and a deep understanding of how PHP frameworks tick.
Feel free to skip around the course if you're just interested in certain parts. But if you're ready to start from scratch and build the whole thing together, let's jump in and start talking about how we'll structure the app!