Skip to content

A lightweight custom PHP MVC framework with routing, controller support, basic validation, and view rendering. Ideal for learning or small-scale projects.

Notifications You must be signed in to change notification settings

ZaitouneMohamed/php-mvc-starter

Repository files navigation

# PHP MVC Starter

A lightweight custom PHP MVC framework built from scratch, featuring:

- Simple routing (GET & POST)
- Controller and view separation
- Basic validation with error handling
- Minimal dependencies
- Great for learning or small-scale applications

---

## 🚀 Getting Started

### Prerequisites

- PHP 8.0 or higher
- MySQL (optional, for database usage)
- A local server (e.g. [XAMPP](https://www.apachefriends.org/) ....)

### Installation

1. **Clone the repository**

```bash
git clone https://github.com/ZaitouneMohamed/php-mvc-starter.git
cd php-mvc-starter

About

A lightweight custom PHP MVC framework with routing, controller support, basic validation, and view rendering. Ideal for learning or small-scale projects.

Topics

Resources

Stars

Watchers

Forks