|
|
@ -0,0 +1,31 @@ |
|
|
|
商品模块 |
|
|
|
==== |
|
|
|
ant基础模块之一 |
|
|
|
|
|
|
|
Installation |
|
|
|
------------ |
|
|
|
|
|
|
|
The preferred way to install this extension is through [composer](http://getcomposer.org/download/). |
|
|
|
|
|
|
|
Either run |
|
|
|
|
|
|
|
``` |
|
|
|
php composer.phar require --prefer-dist antgoods/goods "*" |
|
|
|
``` |
|
|
|
|
|
|
|
or add |
|
|
|
|
|
|
|
``` |
|
|
|
"antgoods/goods": "*" |
|
|
|
``` |
|
|
|
|
|
|
|
to the require section of your `composer.json` file. |
|
|
|
|
|
|
|
|
|
|
|
Usage |
|
|
|
----- |
|
|
|
|
|
|
|
Once the extension is installed, simply use it in your code by : |
|
|
|
|
|
|
|
```php |
|
|
|
<?= \antgoods\goods\AutoloadExample::widget(); ?>``` |