PHPackages                             alddesign/ez-mvc - 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. alddesign/ez-mvc

ActiveProject[Framework](/categories/framework)

alddesign/ez-mvc
================

ez-mvc is an easy PHP framework for developing applications

v1.0.0(2y ago)015PHPPHP &gt;=7.1

Since Nov 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alddesign/ez-mvc)[ Packagist](https://packagist.org/packages/alddesign/ez-mvc)[ RSS](/packages/alddesign-ez-mvc/feed)WikiDiscussions master Synced today

READMEChangelog (5)DependenciesVersions (7)Used By (0)

EZ-MVC
======

[](#ez-mvc)

**Feedback.** Fell free to create an issue or pull request on github [alddesign/ez-mvc](https://github.com/alddesign/ez-mvc).

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Basics](#basics)
- [Overview](#overview)
- [Trivia](#trivia)

Installation
------------

[](#installation)

- Requires
    - Apache2 with mod\_rewrite enabled
    - PHP 7.1 or higher
    - [PHP Composer](https://getcomposer.org/)
- Install via Composer:
    - Run `composer create-project alddesign/ez-mvc=dev-master` in the directory where you want ez-mvc to be installed. (Or download from github and extract manually).
    - Run `composer update` in the newly created directory.
    - This is your **ez-mvc root** directory from now on.
- Change RewriteBase in the `.htaccess` with your `/path-to-ez-mvc/`. This is the path to your ez-mvc root directory (relative to your webserver root directory).
- Change the `EZ_BASE_URL` in `/config/config.php` to the url that points to your ez-mvc root directory. For example: `http://your-host/path-to-ez-mvc`
- Open  in your webbrowser

Now you should see the ez-mvc sample application. A little application which should demonstrate how to use ez-mvc.

**PLEASE: Do not delete the sample application right away. It has plenty of documentation und examples. This document is just a guidline.**

Basics
------

[](#basics)

Ez-mvc is a simple PHP Model View Controller framework. It provides the absolute basic functionalities to build MVC webapps. Its much more simple than [Laravel](https://laravel.com/) or even [CodeIgniter](https://codeigniter.com/). But if follows the same approach.

- Ez-mvc comes without any third party software, only requires composer for quick installation
- Ez-mvc has no frontend capabilities built-in (CSS/JS).
- When talking about the ez-mvc root directory: its the directory with the `index.php` file. All paths are realtive to it.
- Create your app (models, views, controllers, config) only in the `/app` folder.
- Assets like JS, CSS, images, can be placed in the `/assets` folder
- The only system file you need to edit is `/config/config.php`. This file is the base configuration for ez-mvc
- Of course you can customize or extend ez-mvc´s core if you really want to. Its located in the `/system` folder

Overview
--------

[](#overview)

Ez-mvc provides the following features:
**Model**

- The model handles the DB connection
- ez access to DB via PDO
- Database abstraction layer for your project
- Supports various DB types
- *See: `/app/models/DefaultModel.php`*
- *Sample DB: `/app/sample-database.sqlite`*

**View**

- A view displays data provided by a controller as HTML
- Supports nested views (child views). So that its ez to crate pages in a modular fashion
- Data can be passed through multiple levels of nested views, which is very powerfull and a little bit unique
- *See: `/app/views/*.php`*

**Controller**

- A controller fetches data from the model/config and prepares it for the views
- A controller has "actions" which provide backend functionality, display a view, or even both.
- *See: `/app/controllers/*.php`*

**Config**

- The App config allow you to build a solid set of settings, preferences, and so on which is accessible throughout the entire app (model, view, controller)
- *See: `/app/config/app.config.php`*

**Routing**

- Ez-mvc has build-in routing, and the best thing: you dont need to care about it (i know sometimes you want to, but this is ez-mvc)
- Routing happens based on the URL.
- The format is always the same: ...
- Example: . Controller is "Product" (/app/controllers/Product.php). Action is "list" (Method list() in /app/controllers/Product.php).

**Request**
The `Request` class offers:

- GET/POST data fetching

**Helpers**
The `Helper` class offers functionality which makes your life ez-er.

- Session handling
- Generating URLs
- Redirects
- Useful mothods for PHP programming in general. Checkout `Helper::xout($someVar);`
- *See: Example usage in almost all files of the sample app*
- *See: `/system/Helper.php`*

Trivia
------

[](#trivia)

- Checkout ez-mvc on Github: [alddesign/ez-mvc](https://github.com/alddesign/ez-mvc)
- Some desing patterns used in the framework are considert bad practice (The Helper class, static (abstract) classes, lazy stuff...). And yes, i dont care.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~302 days

Recently: every ~265 days

Total

6

Last Release

546d ago

PHP version history (2 changes)v1.0.0-beta.1PHP &gt;=7.3

v1.0.0-beta.2PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30912084?v=4)[The D.](/maintainers/alddesign)[@alddesign](https://github.com/alddesign)

---

Top Contributors

[![alddesign](https://avatars.githubusercontent.com/u/30912084?v=4)](https://github.com/alddesign "alddesign (10 commits)")

### Embed Badge

![Health badge](/badges/alddesign-ez-mvc/health.svg)

```
[![Health](https://phpackages.com/badges/alddesign-ez-mvc/health.svg)](https://phpackages.com/packages/alddesign-ez-mvc)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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