mttk2004/phpure

phpure is a simple MVC framework written in PHP to help beginners understand the inner workings of a web application built with the MVC pattern.

v0.0.6 2025-04-11 02:12 UTC

This package is auto-updated.

Last update: 2025-04-26 08:40:12 UTC


README

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.

🌟 Star History

Star History Chart

Last updated: April 2025