Skip to content

PHPure is a lightweight MVC framework inspired by Laravel, designed to help beginners learn and explore how a web application works under the MVC pattern.

License

Notifications You must be signed in to change notification settings

mttk2004/phpure

Repository files navigation

PHPure Framework

PHPure Framework

License: MIT Latest Stable Version Total Downloads PHP >=8.0

A lightweight, pure PHP framework inspired by Laravel, designed to help beginners learn and understand how web applications work with the MVC pattern.


📋 Overview

PHPure provides a clean, simple, and elegant structure to build PHP applications. It includes essential features like routing, database ORM, template engine, middleware, validation, and more, while keeping the codebase easy to understand and maintain.

This framework is perfect for:

  • ✅ Learning the MVC architecture
  • ✅ Understanding how web frameworks work under the hood
  • ✅ Building small to medium-sized applications
  • ✅ Gaining a solid foundation before moving to larger frameworks like Laravel

🚀 Quick Start

# Create a new PHPure project
composer create-project mttk2004/phpure project_name
cd project_name

# Install dependencies
npm install

# Configure your environment
cp .env.example .env

# Run the development server
npm run dev:all

Open http://localhost:8000 to see the result!

📚 Documentation

Detailed documentation is available in the Official PHPure Documentation.

🛠️ Key Features

  • MVC Architecture - Clean separation of Models, Views, and Controllers
  • Routing System - Simple and flexible routing
  • Database ORM - Elegant database interactions
  • Template Engine - Using Twig for powerful templating
  • Middleware - Request/response filtering

🔔 Notice

This project includes Twig, a template engine licensed under the BSD-3-Clause license, not MIT. All other components of PHPure are licensed under MIT.

📜 License

PHPure is open-source software licensed under the MIT license.

👨‍💻 Author

Created by Mai Trần Tuấn Kiệt.

🤝 Contributing

Contributions are always welcome! See contributing guide for more information.


Last updated: April 2025