Skip to content

mttk2004/phpure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

137 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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.

🌟 Star History

Star History Chart


Last updated: April 2025

About

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.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors