Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP MVC Framework from Scratch

A lightweight MVC framework built from scratch in PHP.

Building PHP MVC Framework from Scratch

This project demonstrates how to build a reusable PHP framework architecture with essential MVC components, routing, database interaction, authentication, middleware support, and more.

⭐ Source Code

You can find the complete source code here:

🔗 https://github.com/thecodeholic/tc-php-mvc-core
🔗 https://github.com/thecodeholic/php-mvc-framework

🚀 Features

This framework includes the following features:

  • ✅ Custom Routing System
  • ✅ Composer Integration
  • ✅ Controllers
  • ✅ Views and Layouts
  • ✅ Models
  • ✅ Database Migrations
  • ✅ Form Widget Classes
  • ✅ Request Data Processing
  • ✅ Data Validation
  • ✅ User Registration and Login
  • ✅ Simple Active Record Implementation
  • ✅ Session Flash Messages
  • ✅ Middleware Support
  • ✅ Application Events
  • ✅ Reusable and Installable Framework Core

🏗️ Project Overview

The goal of this project is to understand how modern PHP frameworks work internally by creating an MVC framework without relying on existing frameworks.

The framework provides a clean structure for building scalable PHP applications while keeping the core components reusable and extendable.

📦 Installation

Clone the repository:

git clone https://github.com/thecodeholic/tc-php-mvc-core
git clone https://github.com/thecodeholic/php-mvc-framework

TODO

About

PHP/MVC Framework

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages