yii2cmf / yii2-helpers
这些辅助函数旨在由模块和扩展使用
dev-master
2019-12-13 08:19 UTC
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-09-13 18:42:36 UTC
README
这些辅助函数旨在由模块和扩展使用
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一
php composer.phar require --prefer-dist yii2cmf/yii2-helpers "*"
或
"yii2cmf/yii2-helpers": "*"
将以下内容添加到您的 composer.json 文件的 require 部分中。
使用方法
一旦扩展安装完成,只需在您的代码中通过
<?= \yii2cmf\helpers\AutoloadExample::widget(); ?>```