Content Management System
Content Management System
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist fakis/yii2-sites "*"
or add
"fakis/yii2-sites": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \fakis\sites\AutoloadExample::widget(); ?>