alanretubis / praxis-php
PraxisPHP: A lightweight beginner-friendly PHP MVC microframework.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- vlucas/phpdotenv: ^5.6
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
-
Install via Composer:
You can install the PraxisPHP package directly using Composer:
composer create-project alanretubis/praxis-php <project-name>
-
Configure the Environment
Copy the example environment file to
.env
.- For macOS/Linux:
cp .env.example .env
- For Windows:
copy .env.example .env
-
Running your app
php -S localhost:8000 -t public