PHPackages                             mdmsoft/yii2-prototype - 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. mdmsoft/yii2-prototype

ActiveYii2-extension[Framework](/categories/framework)

mdmsoft/yii2-prototype
======================

Prototype emulator for yii2 component

141PHP

Since Oct 9Pushed 7y ago2 watchersCompare

[ Source](https://github.com/mdmsoft/yii2-prototype)[ Packagist](https://packagist.org/packages/mdmsoft/yii2-prototype)[ RSS](/packages/mdmsoft-yii2-prototype/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

yii2-prototype
==============

[](#yii2-prototype)

Prototype emulator for Yii2 component

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist mdmsoft/yii2-prototype "~1.0"

```

or add

```
"mdmsoft/yii2-prototype": "~1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

```
Yii::$app->attachBehavior(0,\mdm\prototype\Prototype::className());

Yii::$app->prototype->x = 1;
echo Yii::$app->x; // 1
Yii::$app->x = 'seratus';
echo Yii::$app->x; // 'seratus'

Yii::$app->prototype->z = function($var){
    echo $var;
};

Yii::$app->z('Hello cak');

Yii::$app->prototype->getSomething = function(){
    return 'something';
};

Yii::$app->something;
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a5ba97416867dd2bff6c4e2fcd0e52f8b1f8bb7521dcef6b734636009ce834e?d=identicon)[mdmunir](/maintainers/mdmunir)

---

Top Contributors

[![mdmunir](https://avatars.githubusercontent.com/u/5828252?v=4)](https://github.com/mdmunir "mdmunir (8 commits)")

### Embed Badge

![Health badge](/badges/mdmsoft-yii2-prototype/health.svg)

```
[![Health](https://phpackages.com/badges/mdmsoft-yii2-prototype/health.svg)](https://phpackages.com/packages/mdmsoft-yii2-prototype)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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