tejrajs/yii2-helloworld

Just A Hello World Yii2 Widget

v0.0.1 2015-01-11 19:08 UTC

This package is auto-updated.

Last update: 2024-04-14 15:29:24 UTC


README

Just A Hello World Yii2 Widget

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist tejrajs/yii2-helloworld "*"

or add

"tejrajs/yii2-helloworld": "*"

to the require section of your composer.json file.

Usage

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

<?php
use tejrajs\helloworld\HelloWorld;
?>
<?= HelloWorld::widget(['message' => ' Yii2.0']) ?>