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.
- Host: GitHub
- URL: https://github.com/mttk2004/phpure
- Owner: mttk2004
- License: mit
- Created: 2025-01-08T13:30:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-26T08:40:08.000Z (about 1 year ago)
- Last Synced: 2025-07-29T17:39:36.611Z (11 months ago)
- Topics: alpinejs, carbon, faker, monolog, mvc-framework, phinx, php, php-cs-fixer, respect-validation, sweetalert2, tailwindcss, twig, vite, whoops
- Language: PHP
- Homepage: https://phpure.netlify.app/
- Size: 644 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
PHPure Framework
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

---
Last updated: April 2025