PHPackages                             mtoolkit/mtoolkit-entity - 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. mtoolkit/mtoolkit-entity

ActiveLibrary[Framework](/categories/framework)

mtoolkit/mtoolkit-entity
========================

The cache module of MToolkit framework

0.0.2(10y ago)02LGPL-3.0+PHPPHP &gt;=5.5.0

Since Jan 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mtoolkit/mtoolkit-entity)[ Packagist](https://packagist.org/packages/mtoolkit/mtoolkit-entity)[ Docs](http://mtoolkit.github.io/mtoolkit/)[ RSS](/packages/mtoolkit-mtoolkit-entity/feed)WikiDiscussions master Synced 1mo ago

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

MToolkit - Entity
=================

[](#mtoolkit---entity)

The entity module of [MToolkit](https://github.com/mtoolkit/mtoolkit) framework. The module provides the classes and the methods to manage the user account.

Entities
========

[](#entities)

There are three important entities:

- Provider
- User
- Role For each entity there is a table in the database.

Provider
--------

[](#provider)

User
----

[](#user)

Collects all the information about the user:

- email
- password
- phone
- username

Role
----

[](#role)

Examples
========

[](#examples)

Add an user
-----------

[](#add-an-user)

```
```

Retrieve a list of user
-----------------------

[](#retrieve-a-list-of-user)

```
```

Add a role
----------

[](#add-a-role)

```
```

Assign a role to an user
------------------------

[](#assign-a-role-to-an-user)

```
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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 ~0 days

Total

2

Last Release

3751d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54174b486ef5d6d77393eb809b711419a03e30aa4e616df47c6871a2487f3f84?d=identicon)[mtoolkit](/maintainers/mtoolkit)

---

Top Contributors

[![MpStyle](https://avatars.githubusercontent.com/u/527046?v=4)](https://github.com/MpStyle "MpStyle (8 commits)")[![mtoolkit](https://avatars.githubusercontent.com/u/16403140?v=4)](https://github.com/mtoolkit "mtoolkit (7 commits)")

---

Tags

phpframeworklibrarySimplefastfreenettoolkitqtweb framework

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mtoolkit-mtoolkit-entity/health.svg)

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

###  Alternatives

[digitalstars/simplevk

Powerful PHP library/framework for VK API bots, supporting LongPoll &amp; Callback &amp; OAuth

883.9k3](/packages/digitalstars-simplevk)[usbac/wolff-framework

Web development made just right

381.2k](/packages/usbac-wolff-framework)

PHPackages © 2026

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