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

ActiveLibrary[Framework](/categories/framework)

oryx/mvc
========

Lightweight MVC framework for rapid prototyping - A librarian package built on PHP League ecosystem

v1.0(1mo ago)001BSD-Source-CodePHPPHP ^8.2

Since Mar 27Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (10)Versions (3)Used By (1)

Oryx MVC
========

[](#oryx-mvc)

Lightweight MVC framework for rapid prototyping - A librarian package built on PHP League ecosystem.

Requirements
------------

[](#requirements)

- PHP 8.2+

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

[](#installation)

```
composer install
```

Development Server
------------------

[](#development-server)

```
php -S 0.0.0.0:1213 -t public
```

Architecture
------------

[](#architecture)

```
src/
├── Application.php           # Entry point, DI container + router config
├── AbstractController.php    # Base controller with render/json helpers
├── ControllerInterface.php   # Contract for controllers
├── Controller/
│   └── HomeController.php     # Concrete controllers extend AbstractController
├── Http/
│   └── RequestHandler.php     # Handles PSR-7 request/response operations
├── Model/
│   ├── AbstractModel.php      # In-memory CRUD model
│   └── ModelInterface.php
├── ServiceProvider.php        # Dependency injection container configuration
└── View/
    ├── PlatesView.php         # League Plates template engine wrapper
    └── ViewInterface.php

```

Components
----------

[](#components)

- **Controller**: Handles HTTP requests
- **Model**: Data layer (abstract, implement as needed)
- **View**: Template rendering via Plates
- **ServiceProvider**: Configures dependency injection container
- **RequestHandler**: PSR-7 request/response handling utilities

Available Commands
------------------

[](#available-commands)

```
composer test      # Run PHPUnit tests
composer analyse   # Run PHPStan static analysis
```

Testing
-------

[](#testing)

Run all tests:

```
composer test
```

Run a single test class:

```
vendor/bin/phpunit tests/Unit/ApplicationTest.php
```

Run a single test method:

```
vendor/bin/phpunit --filter testCreateReturnsDataWithId
```

Run tests matching a pattern:

```
vendor/bin/phpunit --filter AbstractModel
```

Static Analysis
---------------

[](#static-analysis)

Run PHPStan (level 6):

```
composer analyse
# or
vendor/bin/phpstan analyse
```

Note: PHPStan runs against `src/` only. Tests are excluded from analysis.

For detailed coding standards, architecture patterns, and development guidelines, refer to [AGENTS.md](AGENTS.md).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cee8274bb15a13bb51a04700b2875beeb635bc2d2889defa2e1493627c85a02c?d=identicon)[committee-lan-hackeris](/maintainers/committee-lan-hackeris)

---

Top Contributors

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

---

Tags

phpframeworkwebleaguemvcprototypingoryx

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[yiisoft/yii-middleware

Yii Middleware

21151.3k1](/packages/yiisoft-yii-middleware)

PHPackages © 2026

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