PHPackages                             ayoub-php/framework-minimaliste - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. ayoub-php/framework-minimaliste

ActiveLibrary[Framework](/categories/framework)

ayoub-php/framework-minimaliste
===============================

v1.0.0(5mo ago)02PHPPHP ^8.0

Since Jan 18Pushed 4mo agoCompare

[ Source](https://github.com/ayoubelfaqir1-ops/mini-framework-php-mvc)[ Packagist](https://packagist.org/packages/ayoub-php/framework-minimaliste)[ RSS](/packages/ayoub-php-framework-minimaliste/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

🚀 Mini PHP MVC Framework
========================

[](#-mini-php-mvc-framework)

[![PHP](https://camo.githubusercontent.com/14639c17ca36d5516bab07357840361ab57c5258fb0f110ae9cefb75611b59b3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302532422d3737376262343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/14639c17ca36d5516bab07357840361ab57c5258fb0f110ae9cefb75611b59b3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302532422d3737376262343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![Architecture](https://camo.githubusercontent.com/a7e357bd89a5a4e6926d423e713cb8173f332ad8ca60e8a8cd42aed6c0507d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4172636869746563747572652d4d56432d626c75653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a7e357bd89a5a4e6926d423e713cb8173f332ad8ca60e8a8cd42aed6c0507d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4172636869746563747572652d4d56432d626c75653f7374796c653d666f722d7468652d6261646765)[![Security](https://camo.githubusercontent.com/165b433710817dabfe3114ed39cb0650e17f2b0eebb7cac2f78149fa8964a0fd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53656375726974792d50726f7465637465642d677265656e3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/165b433710817dabfe3114ed39cb0650e17f2b0eebb7cac2f78149fa8964a0fd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53656375726974792d50726f7465637465642d677265656e3f7374796c653d666f722d7468652d6261646765)

A lightweight, custom-built PHP framework designed from scratch. This project demonstrates a deep understanding of backend architecture, routing systems, and security best practices without relying on heavy external libraries.

---

✨ Core Features
---------------

[](#-core-features)

- **🎯 Custom Router:** Efficient URL handling with a dedicated routing engine.
- **🏗️ Pure MVC:** Strict separation of concerns (Models, Views, Controllers) for maintainable code.
- **🔐 Authentication:** Full session management and secure user login logic.
- **🛡️ Security Suite:** Integrated protection against **XSS**, **CSRF**, and **SQL Injection**.
- **📋 Data Validation:** Centralized input handling to ensure data integrity.
- **⚙️ Dotenv Support:** Secure configuration management using `.env` files.

---

📂 Project Structure
-------------------

[](#-project-structure)

```
├── app/
│   ├── Controllers/    # Business logic & Request handling
│   ├── Models/         # Database interactions & Logic
│   ├── Views/          # UI Templates & Frontend
│   └── Core/           # Framework Engine (Router, Request, Response)
├── config/             # Configuration files
├── public/             # Entry point (index.php) & Static assets
└── .env.example        # Environment template

```

🚀 Getting Started
-----------------

[](#-getting-started)

### 1. Prerequisites

[](#1-prerequisites)

- **PHP** 8.0+
- **Composer**
- **MySQL**

### 2. Installation

[](#2-installation)

```
# Clone the repository
git clone [https://github.com/ayoubelfaqir1-ops/mini-framework-php-mvc.git](https://github.com/ayoubelfaqir1-ops/mini-framework-php-mvc.git)

# Navigate to the folder
cd mini-framework-php-mvc
```

### 3. Database Setup

[](#3-database-setup)

Update your .env file with your database credentials and import the provided schema (if available).

```
# Install dependencies
composer install

# Setup environment
cp .env.example .env
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance73

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

167d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/112592013?v=4)[ayoub11223](/maintainers/ayoub11223)[@ayoub11223](https://github.com/ayoub11223)

---

Top Contributors

[![ayoubelfaqir1-ops](https://avatars.githubusercontent.com/u/228259156?v=4)](https://github.com/ayoubelfaqir1-ops "ayoubelfaqir1-ops (16 commits)")

### Embed Badge

![Health badge](/badges/ayoub-php-framework-minimaliste/health.svg)

```
[![Health](https://phpackages.com/badges/ayoub-php-framework-minimaliste/health.svg)](https://phpackages.com/packages/ayoub-php-framework-minimaliste)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M297](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
