tejrajs / yii2-helloworld
Just A Hello World Yii2 Widget
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-01-14 17:03:41 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']) ?>