usv / yii2helper
由SocalAppSolutions Pte Ltd开发的Yii2扩展,包括数组助手、更好的PHP函数、Active Records快捷操作等...
1.0.0
2017-10-20 17:59 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-09-28 16:47:16 UTC
README
由SuperbAppSolutions开发的Yii2最佳扩展,包括数组助手、更好的PHP函数、Active Records快捷操作等...
变更日志
2018/10/08
- 实现ViewFormatter以支持GridView / SingleView中的attr:json
- 实现EditColumn以支持GridView中的'点击编辑'
- 实现ModelB3tTrait以支持ActiveRecord的FindOrCreate
安装
安装此扩展的首选方式是通过[composer](http://getcomp oser.org/download/).
运行以下命令:
php composer.phar require --prefer-dist soc/yii2helper "*"
或者将以下内容添加到你的composer.json
文件的require部分:
"soc/yii2helper": "*"
用法
扩展安装后,只需在代码中使用它即可
<?= \soc\yii2helper\AutoloadExample::widget(); ?>``` # yii2helper Yii2 greatest extension.