Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 671 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 671 Bytes

Yii2 Meta

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(); ?>```