Udemy

Write PHP Like a Pro: Build a PHP MVC Framework From Scratch

Enroll Now
  • 13,870 Students
  • Updated 4/2025
4.7
(3,270 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
6 Hour(s) 39 Minute(s)
Language
English
Taught by
Dave Hollingworth
Rating
4.7
(3,270 Ratings)

Course Overview

Write PHP Like a Pro: Build a PHP MVC Framework From Scratch

Write faster, easier to maintain, more secure PHP websites by creating your own Model View Controller framework

Most modern PHP development uses a framework like Laravel or CodeIgniter. However, the jump from using basic PHP to using a framework can be difficult. This course bridges that gap.

Frameworks can make your PHP projects faster, easier to write and maintain, and more secure.

Learn to structure your PHP Code like a professional by building a PHP MVC framework from scratch.

  • Learn how to efficiently organise your code

  • Separate application code (PHP) from presentation code (HTML)

  • Have pretty URLs instead of PHP filenames

  • Develop advanced routing using regular expressions

  • Learn concepts like dependency injection, templating and middleware

  • Use object-oriented (OO) techniques such as inheritance, interfaces, abstract classes and more

  • Develop a full CRUD application using the MVC pattern

The essential skills required to understand and use a PHP MVC framework.

Developing PHP applications is faster and more secure if you use a framework. Learning how to use an MVC framework puts a very powerful tool at your fingertips. By developing your own from scratch, you'll gain an understanding of just how each component works.

Frameworks like Laravel, Symfony and CodeIgniter all use the MVC pattern, so understanding how an MVC framework is put together will give you a strong background to more easily learn frameworks such as these.

Content and Overview

This course is designed for developers who know PHP but don't know how to use a framework. I designed the course for developers who want to develop full, feature-rich applications quickly and easily. Learning the techniques on this course will enable you to write web applications using the framework you build, but also learn frameworks like Laravel much more easily.

  • Suitable for all PHP developers, you'll start by learning the basics of a PHP MVC framework.

  • You'll learn how to organise your code into models, views and controllers, and how to work efficiently with them.

  • We'll build a full web application from scratch, with each concept explained in detail at every stage.

  • Throughout the course, we'll build code that you can reuse in all your projects.

  • All the source code developed in the lectures is available to download.

  • All the time we'll adhere to industry standards and best practices.

When you complete the course you'll be able to use your framework to create fast, flexible web applications, with all the features a modern web application requires.

Complete with all the code shown in the lectures, you'll be able to work alongside the instructor and will receive a verifiable certificate of completion upon finishing the course.

Also, at all times throughout the course you have access to the instructor in the Q&A section to ask for help with any topic related to the course.

Enrol now and become a master of PHP MVC frameworks!

Course Content

  • 10 section(s)
  • 190 lecture(s)
  • Section 1 Introduction and Project Setup
  • Section 2 MVC Basics: Models, Views and Controllers
  • Section 3 Controllers, Actions and the Front Controller
  • Section 4 Pretty URLs
  • Section 5 An Introduction to Routing
  • Section 6 Class Organisation: Autoloading and Namespaces
  • Section 7 Advanced Routing using Regular Expressions
  • Section 8 Route Variables: Get Data from the URL Path
  • Section 9 Dispatching: Following the Directions from the Router
  • Section 10 Views: Present the Data

What You’ll Learn

  • Efficiently organise your PHP code into models, views and controllers
  • Separate application code (PHP) from presentation code (HTML)
  • Learn concepts like dependency injection, templating and middleware
  • Best practices for handling errors and exceptions in PHP
  • How frameworks like Laravel or CodeIgniter work
  • Have pretty URLs instead of PHP filenames
  • Object-oriented (OO) techniques such as inheritance, interfaces, abstract classes and more


Reviews

  • E
    Emin Arif Pirinç
    5.0

    Excellent course! Very informative and informative. Thank you.

  • P
    Paulo Adonis de Jesus Correa
    5.0

    Um dos melhores, senão o melhor, curso de PHP que já vi. O professor possui uma didática incrível e de uma forma lúdica e leve aprofunda o conhecimento em PHP com funções que jamais pensei que existissem.

  • J
    Janis Kopstals
    5.0

    Just what I'm looking for - very detailed fundamentals of php application without unnecessary dependencies or frameworks, that usually abstract most of the logic in an opinionated way.

  • J
    Jose Climent
    5.0

    The best PHP programming course I've seen on Udemy. The videos are short but very intense and full of great value. Thank you so much for sharing your knowledge, Dave.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed