PHPackages                             msalter/oopmvc - 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. msalter/oopmvc

ActiveProject

msalter/oopmvc
==============

A simple OOP post app

1.0.1(3y ago)03MITPHPPHP &gt;=8.0

Since Jul 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Msalter91/oop-mvc-php)[ Packagist](https://packagist.org/packages/msalter/oopmvc)[ RSS](/packages/msalter-oopmvc/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Object-Oriented MVC for PHP
===========================

[](#object-oriented-mvc-for-php)

Installation and Setup
----------------------

[](#installation-and-setup)

Run Composer Install msalter/oopmvc

### Config File

[](#config-file)

To set the necessary constants - add the following to the config file

- DB\_HOST - Your database host. e.g. localhost
- DB\_USER - Your database username
- DB\_PASS - Your database password
- DB\_NAME - Your database's name
- URLROOT - The root URL for this project
- SITENAME - The name you've given to this site
- APP\_VERSION - It is set by default to 1.0.0, please change this as appropriate.

Bootstrap.php
-------------

[](#bootstrapphp)

The bootstrap.php file needs to contain all the required files

Example Workflow and Correct URL settings
-----------------------------------------

[](#example-workflow-and-correct-url-settings)

The Core component splits the URL at '/' and uses each part to access the required parts in order to load them

`URLROOT/ControllerDirectory/ControllerName/ControllerMethod`

e.g. `myapp.com/user/users/login`

Example file structure
----------------------

[](#example-file-structure)

This framework has been designed to follow a file structure similar to Magento, with modularised components. Each component should contain its own controller and models. As well as any interfaces/abstracts that you wish to use.

[Imgur](https://i.imgur.com/ehBm1C7.png)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~0 days

Total

2

Last Release

1404d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/632efef654e253d3de957fadb86918bcc446018d3ac522178318b187fcae5e04?d=identicon)[Msalter91](/maintainers/Msalter91)

---

Top Contributors

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

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/msalter-oopmvc/health.svg)

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

PHPackages © 2026

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