PHPackages                             mtoolkit/mtoolkit-core - 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-core

ActiveLibrary[Framework](/categories/framework)

mtoolkit/mtoolkit-core
======================

The core module of MToolkit framework

0.0.3(8y ago)01206LGPL-3.0+PHPPHP &gt;=5.3.0

Since Jun 2Pushed 8y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (4)Used By (6)

MToolkit - Core
===============

[](#mtoolkit---core)

The core module of [MToolkit](https://github.com/mtoolkit/mtoolkit) framework.

[![Build Status](https://camo.githubusercontent.com/3ea1ac5f1674c93cb29e53464164a0404a49732c74cfbba9a7e483446edf3a60/68747470733a2f2f7472617669732d63692e6f72672f6d746f6f6c6b69742f6d746f6f6c6b69742d636f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mtoolkit/mtoolkit-core)

Summary
=======

[](#summary)

- [Install](#install)
- [Into](#intro)

Install
==========================================

[](#install)

```
{
    "require": {
        "mtoolkit/mtoolkit-core": "..."
    }
}
```

Or run the console command:

```
composer require mpstyle/mtoolkit-core

```

Into
=====================================

[](#into)

The core module contains some utility classes like: MList, MGet, MPost.

Theese wrap the core functionalities of PHP in a class. Let me explain.

MList
-----

[](#mlist)

It implements a list of object (custom or primitive) and provides the methods to work with them:

- append: adds a new item at the end of the list
- appendArray: adds all the item in the array argument at the end of the list
- clear: empty the list
- count: returns the number of the item
- isEmpty: removes all items from list They are only some of the methods to work with a list of objects.

MGet and MPost
--------------

[](#mget-and-mpost)

As the names suggest, you can use theese classes to access to the globals $\_GET and $\_POST. They are "read only" MMap, so it is impossible to call methods as: clear, erase and others. To retrieve the value in the global $\_GET write:

```
$get=new MGet();
$id=$get->getValue('id');
```

In a similar way for $\_POST:

```
$post=new MPost();
$id=$post->getValue('id');
```

If 'id' is not set, it returns null.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.1% 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 ~261 days

Total

3

Last Release

3158d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16403140?v=4)[MToolkit framework project](/maintainers/mtoolkit)[@mtoolkit](https://github.com/mtoolkit)

---

Top Contributors

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

---

Tags

phpquerystringframeworklibrarySimplecookiesfastcookiefreenettoolkitqtweb framework

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[digitalstars/simplevk

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

924.2k3](/packages/digitalstars-simplevk)

PHPackages © 2026

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