bashir / hello-world
A PHP class to generate Hello world
dev-master
2016-10-15 09:46 UTC
This package is not auto-updated.
Last update: 2026-02-19 02:15:36 UTC
README
Sample extenstion for Yii2 Hello World
Just A Hello World Yii2 Extension
Installation
The preferred way to install this extension is through composer.
Either run
For linux
sudo composer require --prefer-dist bashir/hello-world "*"
OR
sudo composer.phar require --prefer-dist bashir/hello-world "*"
For Windows
php composer.phar require --prefer-dist bashir/hello-world "*"
or add
"bashir/hello-world": "*"
Run Command
sudo composer.phar update
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= HelloWorld\SayHello::world(); ?>