marwa-framework

Getting Started

Welcome to the Marwa Framework. This section guides you from installation to your first working application.

If you want a full application starter instead of assembling the framework package manually, start with memran/marwa-php. It is the recommended starter project for Marwa Framework.

Prerequisites

Guides

Guide Description Time
Installation Install and configure the framework 2 min
Quick Start Build your first working app 5 min
Project Structure Understand the directory layout 3 min
HTTP Entry Point Complete public/index.php examples 5 min
Complete Tutorial Step-by-step blog application 15 min

Quick Start

git clone https://github.com/memran/marwa-php.git myapp
cd myapp
composer install
cp .env.example .env
php -S localhost:8000 -t public

Alternative: Install the Framework Package Directly

composer require memran/marwa-framework
cp vendor/memran/marwa-framework/.env.example .env

Need Help?

Next Steps

After your first app is running, explore:

  1. Controllers - Handle HTTP requests
  2. Validation - Validate user input
  3. Database - Work with databases
  4. Console - CLI commands