PHPackages                             mttk2004/phpure - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. mttk2004/phpure

ActiveProject[Framework](/categories/framework)

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(1y ago)64MITPHPPHP &gt;=8.0CI passing

Since Apr 6Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/mttk2004/phpure)[ Packagist](https://packagist.org/packages/mttk2004/phpure)[ Docs](https://github.com/mttk2004/phpure)[ RSS](/packages/mttk2004-phpure/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (8)Used By (0)

 [![PHPure Framework](docs/code.png)](docs/code.png)

PHPure Framework
================

[](#phpure-framework)

 [![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT) [![Latest Stable Version](https://camo.githubusercontent.com/6f101ffcd14e2d6a2a78e5ebe06c1bb8a81221a8a642bb8cdf1f0226ccef7c1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d74746b323030342f7068707572652e737667)](https://packagist.org/packages/mttk2004/phpure) [![Total Downloads](https://camo.githubusercontent.com/7e630aae16326192eef680e7ea94cde7426470c678f92fbfc4f256575373b60f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d74746b323030342f7068707572652e737667)](https://packagist.org/packages/mttk2004/phpure) [![PHP >=8.0](https://camo.githubusercontent.com/854124dd57cfd3aad3184fca9760bf1f33a5ec1e5d080cfbe8aa4e3337ba46e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e302d3838393242462e737667)](https://php.net)

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

---

📋 Overview
----------

[](#-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
-------------

[](#-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  to see the result!

📚 Documentation
---------------

[](#-documentation)

Detailed documentation is available in the [Official PHPure Documentation](https://phpure.netlify.app).

🛠️ Key Features
---------------

[](#️-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
--------

[](#-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
---------

[](#-license)

PHPure is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

👨‍💻 Author
----------

[](#‍-author)

Created by [Mai Trần Tuấn Kiệt](https://github.com/mttk2004).

🤝 Contributing
--------------

[](#-contributing)

Contributions are always welcome! See [contributing guide](CONTRIBUTING.md) for more information.

🌟 Star History
--------------

[](#-star-history)

[![Star History Chart](https://camo.githubusercontent.com/36def9b94d3fb146121a7263edd24a2f0642f30cf3a535e1d4729b3d22ba7667/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d6d74746b323030342f70687075726526747970653d44617465)](https://camo.githubusercontent.com/36def9b94d3fb146121a7263edd24a2f0642f30cf3a535e1d4729b3d22ba7667/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d6d74746b323030342f70687075726526747970653d44617465)

---

*Last updated: April 2025*

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance56

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

6

Last Release

403d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1cc6815c2f08f754a4b44e9dbed10a881f4d4a239fdce357645c785fa30fe8f?d=identicon)[mttk2004](/maintainers/mttk2004)

---

Top Contributors

[![mttk2004](https://avatars.githubusercontent.com/u/117163756?v=4)](https://github.com/mttk2004 "mttk2004 (133 commits)")[![google-labs-jules[bot]](https://avatars.githubusercontent.com/in/842251?v=4)](https://github.com/google-labs-jules[bot] "google-labs-jules[bot] (4 commits)")

---

Tags

alpinejscarbonfakermonologmvc-frameworkphinxphpphp-cs-fixerrespect-validationsweetalert2tailwindcsstwigvitewhoopsphpframeworkmvclightweightlearningphpure

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mttk2004-phpure/health.svg)

```
[![Health](https://phpackages.com/badges/mttk2004-phpure/health.svg)](https://phpackages.com/packages/mttk2004-phpure)
```

###  Alternatives

[bowphp/framework

The bow PHP Framework

6015.5k8](/packages/bowphp-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
