keun e755510f00 Ajouter au dépot le dossier "vendor" | 8 years ago | |
---|---|---|
.. | ||
AutoloadExample.php | 8 years ago | |
README.md | 8 years ago | |
composer.json | 8 years ago |
<?= $generator->title ?>
<?= str_repeat(‘=’, mb_strlen($generator->title, \Yii::$app->charset)) ?>
<?= $generator->description ?>
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist <?= $generator->vendorName ?>/<?= $generator->packageName ?> "*"
or add
"<?= $generator->vendorName ?>/<?= $generator->packageName ?>": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= "<?= \\{$generator->namespace}AutoloadExample::widget(); ?>" ?>