PHPackages                             memran/marwa-framework - 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. memran/marwa-framework

ActiveLibrary[Framework](/categories/framework)

memran/marwa-framework
======================

MarwaPHP - A future‑proof, PSR‑compliant PHP framework core.Minimal, modular, and fast — with developer‑friendly APIs.

v1.1.0(1mo ago)022MITPHPPHP ^8.2

Since Apr 2Pushed 5mo agoCompare

[ Source](https://github.com/memran/marwa-framework)[ Packagist](https://packagist.org/packages/memran/marwa-framework)[ RSS](/packages/memran-marwa-framework/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (23)Versions (3)Used By (0)

Marwa Framework
===============

[](#marwa-framework)

[![Latest Version](https://camo.githubusercontent.com/022f760ff6e8782bfd0cd391f5484a096f26cab4f9835926be8187c845938f05/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d656d72616e2f6d617277612d6672616d65776f726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/memran/marwa-framework)[![Total Downloads](https://camo.githubusercontent.com/39d5e4a607feecccb8ffa30c53837d346f168e6ea9adf7abf99c2e7d6f10e7a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d656d72616e2f6d617277612d6672616d65776f726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/memran/marwa-framework)[![License](https://camo.githubusercontent.com/cddcf380b1578f9a4a860028d3717a9ab9f323a8b1a761ffde333ca9e84ce153/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d656d72616e2f6d617277612d6672616d65776f726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/memran/marwa-framework)[![PHP Version](https://camo.githubusercontent.com/dc965cb7afa3e96d3fd132609590a1addc112d3a1237b8a8d7763d62a6039075/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d656d72616e2f6d617277612d6672616d65776f726b2e7376673f7374796c653d666c61742d737175617265)](https://php.net)

A lightweight, modular PHP micro-framework built for speed, scalability, and simplicity. It adheres to PSR standards and offers rich features like routing, ORM, CLI tools, authentication, mailing, and more — making it ideal for rapid API or web application development.

---

🚀 Features
----------

[](#-features)

- PSR-4 Autoloading &amp; PSR-7 HTTP Message support
- Expressive Routing System
- MVC Pattern
- ORM with Relationships
- Authentication &amp; Authorization
- Middleware Support
- Queue Job Handling
- Notification System (Email/SMS)
- Session &amp; Cookie Management
- Templating with Smarty
- Built-in CLI (`marwa`)

---

📦 Requirements
--------------

[](#-requirements)

- PHP &gt;= 8.2
- Composer
- MySQL or supported database
- Optional: Redis (for cache/session/queue)

---

📥 Installation
--------------

[](#-installation)

```
git clone https://github.com/memran/marwa-framework.git
cd marwa-framework
composer install
```

Create `.env` file:

```
cp .env.example .env
```

Update your environment variables for DB, mail, etc.

---

🔧 Running the App
-----------------

[](#-running-the-app)

Use PHP's built-in web server:

```
php -S localhost:8000 -t public
```

---

🧭 Example Route
---------------

[](#-example-route)

```
// routes/web.php

use Marwa\Framework\Facades\Route;

Route::get('/', function () {
    return 'Hello from Marwa!';
})->register();
```

---

🎮 Using the CLI
---------------

[](#-using-the-cli)

The `marwa` CLI allows code generation and system operations:

```
php marwa make:controller HomeController
php marwa make:model Product
php marwa migrate
```

---

📜 License
---------

[](#-license)

Licensed under the [MIT License](LICENSE)

---

🤝 Contributing
--------------

[](#-contributing)

We welcome contributions. Feel free to fork, make a pull request, or suggest features via GitHub issues.

---

👤 Author
--------

[](#-author)

**Mohammad Emran**
[GitHub](https://github.com/memran) | [LinkedIn](https://linkedin.com/in/memran)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance79

Regular maintenance activity

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Every ~1 days

Total

2

Last Release

41d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cf906a31a250a940314fe42f8a18f449647bfe18095457350ff0081cf8dd3c2?d=identicon)[memran](/maintainers/memran)

---

Top Contributors

[![memran](https://avatars.githubusercontent.com/u/7415198?v=4)](https://github.com/memran "memran (174 commits)")

---

Tags

httppsr-7psr-3PSR-11frameworkpsr-16psr-15php frameworkecosystemphp-8MarwaPHP FrameworkmarwaphpMarwa FrameworkOpensource Frameworkmarwa-routermarwa-viewmarwa-eventmarwa-dbmarwa-modulemarwa-entity

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/memran-marwa-framework/health.svg)

```
[![Health](https://phpackages.com/badges/memran-marwa-framework/health.svg)](https://phpackages.com/packages/memran-marwa-framework)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[chubbyphp/chubbyphp-framework

A minimal, highly performant middleware PSR-15 microframework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use.

13544.4k4](/packages/chubbyphp-chubbyphp-framework)[phalcon/phalcon

Phalcon Framework

2421.5k1](/packages/phalcon-phalcon)[yiisoft/error-handler

Yii Error Handling Library

21363.6k15](/packages/yiisoft-error-handler)

PHPackages © 2026

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