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(12y ago)0821GPL-2.0+PHP

Since Jun 2Pushed 12y 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 yesterday

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 35% 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

4458d 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[andreyryabin/sprint.migration

bitrix migration module

206212.7k2](/packages/andreyryabin-sprintmigration)[rolfvreijdenberger/izzum-statemachine

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

7426.1k](/packages/rolfvreijdenberger-izzum-statemachine)[watheqalshowaiter/model-fields

Get model fields fast — required, nullable, or default

402.6k](/packages/watheqalshowaiter-model-fields)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

226.7k](/packages/pressbooks-pressbooks-book)[corneltek/lazyrecord

The Fast PHP ORM

103.6k2](/packages/corneltek-lazyrecord)

PHPackages © 2026

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