keun e755510f00 Ajouter au dépot le dossier "vendor" | преди 8 години | |
---|---|---|
.. | ||
AutoloadExample.php | преди 8 години | |
README.md | преди 8 години | |
composer.json | преди 8 години |
<?= $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(); ?>" ?>