xandrkat/yii2-helpers

Extended Helpers for Yii2 Framework

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master / 1.0.x-dev 2019-03-11 02:50 UTC

This package is auto-updated.

Last update: 2020-03-11 05:23:44 UTC


README

Extended Helpers for Yii2 Framework

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist xandrkat/yii2-helpers "*"

or add

"xandrkat/yii2-helpers": "*"

to the require section of your composer.json file.

Usage

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

<?= \xandrkat\helpers\Bootstrap::beginRow(['class' => 'sample-class']); ?>
<?= \xandrkat\helpers\Bootstrap::beginCol([12,12,12,12], ['class' => 'sample-class']); ?>
// content/any ***
<?= \xandrkat\helpers\Bootstrap::endCol(); ?>
<?= \xandrkat\helpers\Bootstrap::endRow(); ?>```