PHPackages                             xtfer/supermodel - 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. xtfer/supermodel

ActiveLibrary

xtfer/supermodel
================

Define your models using a common interface

0.2(11y ago)013GPLv3PHP

Since May 14Pushed 11y agoCompare

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

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

SuperModel is a PHP tool for defining data models at run time.

Most data modelling tools for PHP are tightly coupled to the database APIs they are tied to. Others are rigid, and can't be changed at runtime. SuperModel provides an API for defining a data model which is only generated when it is accessed. This allows the model to be altered, even during a request if necessary.

SuperModel makes no assumptions about your data source, storage, output or other components, and can be easily tied into other systems.

Usage
-----

[](#usage)

SuperModel assumes you will create a new Class to define your model that extends the SuperModel.

While SuperModel allows you to define things like whether a property is required, or changeable, it does not validate whether these properties are changed.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

4361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/996e93220fb89bfaaa8bafad3ec296da3e6bb40acfcc2701fc8a7ed491848885?d=identicon)[xtfer](/maintainers/xtfer)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xtfer-supermodel/health.svg)

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

PHPackages © 2026

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