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

ActiveProject

memran/marwa-php
================

MarwaPHP - a polished starter scaffold for the Marwa framework

34PHP

Since Apr 4Pushed 5mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

🚀 MarwaPHP Framework
====================

[](#-marwaphp-framework)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)[![PHP](https://camo.githubusercontent.com/9575c9f3e85624c796737330722b537f9442f1f9d13f5fd4f813531b406730b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322532422d6f72616e6765)](https://camo.githubusercontent.com/9575c9f3e85624c796737330722b537f9442f1f9d13f5fd4f813531b406730b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322532422d6f72616e6765)[![Build](https://camo.githubusercontent.com/b0c6c6845a74cb65a7f0a32bdcfd8fbf80eeb40026c4029af424ab371c94b8bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e)](https://camo.githubusercontent.com/b0c6c6845a74cb65a7f0a32bdcfd8fbf80eeb40026c4029af424ab371c94b8bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e)

**MarwaPHP** is a fast, lightweight, and modular PHP framework built for modern web development. It simplifies API and application development with expressive routing, powerful CLI tools, and a clean MVC structure — all while staying minimal and extensible.

---

📦 Features
----------

[](#-features)

- ✅ Lightweight MVC structure
- 🔧 CLI tools for rapid scaffolding
- 🛠 Schema Builder, Migrations, and Seeders
- 🔐 JWT Authentication &amp; Middleware
- 🌐 Built-in CORS support
- 📅 Task Scheduling &amp; Queues
- 🧰 Helper functions &amp; Utilities
- 🐳 Docker-ready for scalable deployment

---

📁 Project Structure
-------------------

[](#-project-structure)

```
marwa-php/
├── app/                → Application Code (Controllers, Models, Views)
├── config/             → Configuration files
├── public/             → Web root (index.php)
├── routes/             → Route definitions
├── resources/          → Views & Assets
├── database/           → Migrations, Seeders
├── tests/              → Unit & Feature tests
└── vendor/             → Composer packages

```

---

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

[](#-getting-started)

```
# Clone the repo
git clone https://github.com/memran/marwa-php.git

# Enter project directory
cd marwa-php

# Install dependencies
composer install

# Run dev server
php -S localhost:8000 -t public/
```

---

📚 Documentation
---------------

[](#-documentation)

Visit the [MarwaPHP GitHub Wiki](https://github.com/memran/marwa-php/wiki) to get started and learn all features:

- [Getting Started](https://github.com/memran/marwa-php/wiki/Getting-Started)
- [Routing](https://github.com/memran/marwa-php/wiki/Routing)
- [Controllers](https://github.com/memran/marwa-php/wiki/Controller)
- [Models](https://github.com/memran/marwa-php/wiki/Model)
- [Views (Twig)](https://github.com/memran/marwa-php/wiki/Twig)
- [Authentication](https://github.com/memran/marwa-php/wiki/Authentication)
- [Authorization (Roles &amp; Policies)](https://github.com/memran/marwa-php/wiki/Authorization)
- [Session Management](https://github.com/memran/marwa-php/wiki/Session)
- [Queue System](https://github.com/memran/marwa-php/wiki/Queue)
- [Task Scheduling](https://github.com/memran/marwa-php/wiki/TaskSchedule)
- [Docker Setup](https://github.com/memran/marwa-php/wiki/Docker-Tutorial)

---

💻 Examples
----------

[](#-examples)

- 📦 Build a RESTful API in minutes
- 🔐 Secure routes with policies
- 🧠 Schedule background tasks
- 📊 Queue jobs with Redis
- 🧪 Run PHPUnit tests

---

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

[](#-contributing)

We welcome contributions! Open an issue, submit a PR, or improve documentation.

---

📄 License
---------

[](#-license)

MIT © [Mohammad Emran](https://github.com/memran)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance49

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### 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 (92 commits)")

---

Tags

lightweightmarwaphpmicroframeworkmodularmvcphp-frameworkrest-apiweb-development

### Embed Badge

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

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

PHPackages © 2026

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