PHPackages                             khalilouh/miniframework - 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. khalilouh/miniframework

ActiveProject[Framework](/categories/framework)

khalilouh/miniframework
=======================

v1.0.0(11mo ago)04PHP

Since Jul 23Pushed 11mo agoCompare

[ Source](https://github.com/brahim1205/packagist-)[ Packagist](https://packagist.org/packages/khalilouh/miniframework)[ RSS](/packages/khalilouh-miniframework/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

🧱 MiniFramework — PHP MVC Moderne &amp; Léger
=============================================

[](#-miniframework--php-mvc-moderne--léger)

**MiniFramework** est un micro-framework PHP moderne basé sur l’architecture MVC, prêt pour démarrer rapidement des projets structurés. Il inclut un routeur, des middlewares, des entités abstraites, un ORM léger, un validateur, la gestion des sessions, un système de traduction et des outils de base de données (migrations/seeders).

---

📦 Installation
--------------

[](#-installation)

Via Composer :

```
composer require khalilouh/miniframework

 Structure du projet
.
├── app/                      # Coeur de l’application
│   ├── config/               # Fichiers de configuration (env, dépendances, middlewares)
│   ├── core/                 # Composants du framework
│   │   ├── abstract/         # Classes de base : Controller, Entity, Repository
│   │   ├── App.php           # Classe principale d’exécution
│   │   ├── Database.php      # Connexion PDO
│   │   ├── Router.php        # Routeur minimaliste
│   │   ├── Session.php       # Gestion de session
│   │   ├── Validator.php     # Système de validation
│   │   └── middlewares/      # Middlewares personnalisés
│   └── translate/            # Traductions multilingues
│       └── fr/error_fr.php
├── bin/                      # Commandes CLI (migrations/seeders)
│   ├── migrate
│   └── seed
├── database/                 # Fichiers SQL (création, insertion)
│   ├── create_mysql.sql
│   ├── insert_mysql.sql
│   ├── create_postgres.sql
│   └── insert_postgres.sql
├── migrations/               # Fichiers de migration PHP
│   └── Migration.php
├── seeders/                  # Fichiers de seeding PHP
│   └── Seeder.php
├── public/                   # Point d’entrée (front controller)
│   └── index.php
├── template/                 # Vues HTML (ex: dashboard, sécurité)
│   ├── dashboard/
│   └── security/
├── src/                      # Ton code métier (ex: Controllers, Entities)
├── composer.json
└── README.md

🚀 Exemple d’utilisation
🎯 1. Point d’entrée

// public/index.php
require __DIR__ . '/../vendor/autoload.php';

use khalilouh\miniframework\core\App;

$app = new App();
$app->run();

🛣 2. Déclaration de routes

use khalilouh\miniframework\core\Router;

Router::get('/login', [SecurityController::class, 'login']);
Router::post('/login', [SecurityController::class, 'authenticate']);

⚙️ Configuration
| Fichier            | Rôle                       |
| ------------------ | -------------------------- |
| `env.php`          | Variables d'environnement  |
| `middlewares.php`  | Définition des middlewares |
| `dependencies.php` | Injection de dépendances   |
| `service.yaml`     | Déclarations de services   |
| `helpers.php`      | Fonctions utilitaires      |

👤 Auteur

Nom : brahim1205

Email : sadiocheri11@gmail.com
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance51

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

345d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/126520303?v=4)[Chérif Ibrahima Aidara Sadio](/maintainers/brahim1205)[@brahim1205](https://github.com/brahim1205)

### Embed Badge

![Health badge](/badges/khalilouh-miniframework/health.svg)

```
[![Health](https://phpackages.com/badges/khalilouh-miniframework/health.svg)](https://phpackages.com/packages/khalilouh-miniframework)
```

###  Alternatives

[laravel/dusk

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

1.9k39.6M299](/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)
