bsushil/meta

Yii 2 Meta. Finds and lists actions in controllers/models/modules

dev-master 2017-07-23 05:21 UTC

This package is auto-updated.

Last update: 2024-10-20 20:39:29 UTC


README

Yii 2 Meta. Finds and lists actions in controllers/models/modules

Installation

The preferred way to install this extension is through composer.

This extension is based upon MetaData extension for Yii 1.x created by Vitaliy Stepanenko. It is modified to work with Yii 2.x.

Either run

php composer.phar require --prefer-dist bsushil/meta "dev-master"

or add

"bsushil/meta": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \sspl\MetaData::getControllersActions(); ?>```