memran / marwa-php
MarwaPHP - Lightweight MVC PHP Framework
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
pkg:composer/memran/marwa-php
Requires
- php: >= 8.2
- ext-json: *
- memran/marwa-framework: dev-main
This package is auto-updated.
Last update: 2025-11-20 14:19:53 UTC
README
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
- โ Lightweight MVC structure
- ๐ง CLI tools for rapid scaffolding
- ๐ Schema Builder, Migrations, and Seeders
- ๐ JWT Authentication & Middleware
- ๐ Built-in CORS support
- ๐ Task Scheduling & Queues
- ๐งฐ Helper functions & Utilities
- ๐ณ Docker-ready for scalable deployment
๐ 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
# 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
Visit the MarwaPHP GitHub Wiki to get started and learn all features:
- Getting Started
- Routing
- Controllers
- Models
- Views (Twig)
- Authentication
- Authorization (Roles & Policies)
- Session Management
- Queue System
- Task Scheduling
- Docker Setup
๐ป Examples
- ๐ฆ Build a RESTful API in minutes
- ๐ Secure routes with policies
- ๐ง Schedule background tasks
- ๐ Queue jobs with Redis
- ๐งช Run PHPUnit tests
๐ค Contributing
We welcome contributions! Open an issue, submit a PR, or improve documentation.
๐ License
MIT ยฉ Mohammad Emran