PHPackages                             platypustechnology/magratheaphp2 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. platypustechnology/magratheaphp2

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

platypustechnology/magratheaphp2
================================

Magrathea PHP 2

v2.2.0(1mo ago)2223MITPHP

Since Jul 9Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/PlatypusTechnology/MagratheaPHP2)[ Packagist](https://packagist.org/packages/platypustechnology/magratheaphp2)[ RSS](/packages/platypustechnology-magratheaphp2/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

MagratheaPHP2
=============

[](#magratheaphp2)

Version 2 of the acclaimed Magrathea PHP Framework — a lightweight PHP MVC framework with a built-in ORM, database abstraction, REST API tooling, authentication, caching, mail, logging, and other utilities needed to build web applications without pulling in a large stack of dependencies.

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

[](#installation)

```
composer require platypustechnology/magratheaphp2
```

Features
--------

[](#features)

- **MVC core** (`MagratheaPHP`, `Bootstrap`) — routing, controllers, and application bootstrap.
- **ORM &amp; database layer** (`DB`, `MagratheaModel`, `MagratheaModelControl`) — models, query building, and database control without hand-written SQL for common cases.
- **REST API tooling** (`MagratheaApi`, `MagratheaApiControl`, `MagratheaApiAuth`) — build and authenticate JSON APIs.
- **Authentication** (`Authentication.php`) — session/user auth primitives.
- **Utilities** — caching (`MagratheaCache`), mail (`MagratheaMail`, `MagratheaMailSMTP`), logging (`Logger`), debugging (`Debugger`), compressors, pagination, and a config system (`Config`, `ConfigApp`, `ConfigFile`).
- **Admin scaffolding** (`Admin/`) — building blocks for admin panels.

Documentation
-------------

[](#documentation)

Full documentation — class references, method signatures (kept live via PHP Reflection), and narrative usage guides — is available online:

****

The documentation site's source also ships in this repository under [`docs/`](docs/index.php)(PHP-rendered; point a web server or `php -S` at that folder to browse it locally), with its narrative source files in [`docs/mds/`](docs/mds/index.md).

License
-------

[](#license)

MIT

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance90

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

30d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/310792d1c8e1d0621ea3e74747dbc348a86003435044ee9d80c5dbc1b4b0dab3?d=identicon)[paulovelho](/maintainers/paulovelho)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/platypustechnology-magratheaphp2/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[mapbender/mapbender

Mapbender library

10418.5k8](/packages/mapbender-mapbender)[chameleon-system/chameleon-base

The Chameleon System core.

1029.4k6](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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