PHPackages                             mediawiki/model - 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. [Database &amp; ORM](/categories/database)
4. /
5. mediawiki/model

ActiveMediawiki-extension[Database &amp; ORM](/categories/database)

mediawiki/model
===============

Abstraction model for mediawiki

0.2(11y ago)0821GPL-2.0+PHP

Since Jun 2Pushed 11y agoCompare

[ Source](https://github.com/vedmaka/Mediawiki-Model)[ Packagist](https://packagist.org/packages/mediawiki/model)[ Docs](http://www.mediawiki.org/wiki/Extension:Model)[ RSS](/packages/mediawiki-model/feed)WikiDiscussions master Synced 6d ago

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

Mediawiki-Model
===============

[](#mediawiki-model)

Model is extension for mediawiki brings "M" from MVC pattern into MediaWiki.

[![Model](https://camo.githubusercontent.com/d7c3ff103939c94be9cfbab09466b418b2916716f6ab3b2f140b07fa8f895d90/687474703a2f2f692e696d6775722e636f6d2f5173616b57564c2e706e67)](https://camo.githubusercontent.com/d7c3ff103939c94be9cfbab09466b418b2916716f6ab3b2f140b07fa8f895d90/687474703a2f2f692e696d6775722e636f6d2f5173616b57564c2e706e67)

What is Model?
==============

[](#what-is-model)

Very simple and lightweight thing. Model allows you use model-objects over Mediawiki DatabaseBase class.

**With Model you can focus on work with objects, not SQL-queries.**

```
 $user = new Model_User();
 $user->password = '1234';
 $user->save();
```

more examples can be found [here](https://github.com/vedmaka/Mediawiki-Model/wiki/Examples).

**To start using Model**:

- include it in LocalSettings.php
- create model classes based on class Model with your model description
- create proper database tables
- use models in your code.

Read [documentation](http://github.com/vedmaka/Mediawiki-Model/wiki) for additional information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

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

Total

2

Last Release

4366d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfa0b884c7078fb560aecc8f0f496740e89b9b0bf467c3e3597b52fece985b76?d=identicon)[vedmaka](/maintainers/vedmaka)

---

Top Contributors

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

---

Tags

sqlmodel

### Embed Badge

![Health badge](/badges/mediawiki-model/health.svg)

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

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[spatie/laravel-translatable

A trait to make an Eloquent model hold translations

2.4k23.0M413](/packages/spatie-laravel-translatable)[rolfvreijdenberger/izzum-statemachine

A superior statemachine library php &gt;= 5.3. Integrates with your domain models perfectly.

7425.5k](/packages/rolfvreijdenberger-izzum-statemachine)[corneltek/lazyrecord

The Fast PHP ORM

103.6k2](/packages/corneltek-lazyrecord)

PHPackages © 2026

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