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 2mo 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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M191](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M256](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M592](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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