keun e755510f00 Ajouter au dépot le dossier "vendor" | 8 år sedan | |
---|---|---|
.. | ||
AutoloadExample.php | 8 år sedan | |
README.md | 8 år sedan | |
composer.json | 8 år sedan |
<?= $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(); ?>" ?>