You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 687B

1234567891011121314151617181920212223242526272829303132333435
  1. <?= $generator->title ?>
  2. <?= str_repeat('=', mb_strlen($generator->title, \Yii::$app->charset)) ?>
  3. <?= $generator->description ?>
  4. Installation
  5. ------------
  6. The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
  7. Either run
  8. ```
  9. php composer.phar require --prefer-dist <?= $generator->vendorName ?>/<?= $generator->packageName ?> "*"
  10. ```
  11. or add
  12. ```
  13. "<?= $generator->vendorName ?>/<?= $generator->packageName ?>": "*"
  14. ```
  15. to the require section of your `composer.json` file.
  16. Usage
  17. -----
  18. Once the extension is installed, simply use it in your code by :
  19. ```php
  20. <?= "<?= \\{$generator->namespace}AutoloadExample::widget(); ?>" ?>
  21. ```