An open API service indexing awesome lists of open source software.

https://github.com/mttk2004/phpure

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.
https://github.com/mttk2004/phpure

alpinejs carbon faker monolog mvc-framework phinx php php-cs-fixer respect-validation sweetalert2 tailwindcss twig vite whoops

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

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

```bash
# 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](https://phpure.netlify.app).

## πŸ› οΈ 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](https://opensource.org/licenses/MIT).

## πŸ‘¨β€πŸ’» Author

Created by [Mai TrαΊ§n TuαΊ₯n Kiệt](https://github.com/mttk2004).

## 🀝 Contributing

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

## 🌟 Star History

![Star History Chart](https://api.star-history.com/svg?repos=mttk2004/phpure&type=Date)

---

Last updated: April 2025