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

dev-main / 1.x-dev 2025-11-20 14:19 UTC

This package is auto-updated.

Last update: 2025-11-20 14:19:53 UTC


README

License PHP Build

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:

๐Ÿ’ป 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