alanretubis/praxis-php

PraxisPHP: A lightweight beginner-friendly PHP MVC microframework.

v1.0.0 2025-04-29 08:15 UTC

This package is auto-updated.

Last update: 2025-05-29 08:32:38 UTC


README

PraxisPHP is a lightweight and modern PHP micro-framework designed for simplicity, speed, and flexibility.
Perfect for building small to medium web applications and APIs without the heavy baggage of larger frameworks.

🚀 Features

  • Minimal and Clean MVC Architecture
  • Built-in Lightweight Routing
  • Simple Database Connection (PDO)
  • Environment Variables Loader (.env)
  • Extendable and Customizable Core
  • Composer Autoloading
  • GitHub Actions CI ready

🧰 Requirements

  • PHP 8.0 or higher
  • Composer
  • MySQL or MariaDB
  • Web Server (Apache, Nginx, etc.)

📦 Installation

  1. Install via Composer:

    You can install the PraxisPHP package directly using Composer:

    composer create-project alanretubis/praxis-php <project-name>
  2. Configure the Environment

    Copy the example environment file to .env.

    • For macOS/Linux:
    cp .env.example .env
    • For Windows:
    copy .env.example .env
  3. Running your app

    php -S localhost:8000 -t public