bashir / hello-world
A PHP class to generate Hello world
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
This package is not auto-updated.
Last update: 2024-04-17 17:10:30 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(); ?>