tejrajs / yii2-helloworld
Just A Hello World Yii2 Widget
Package info
github.com/tejrajs/yii2-helloworld
Type:yii2-extension
pkg:composer/tejrajs/yii2-helloworld
v0.0.1
2015-01-11 19:08 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-14 19:15:36 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']) ?>