madand / yii2-icanhaz
为 Yii2 提供的 icanhaz 资产
dev-master
2015-05-09 12:06 UTC
Requires
- bower-asset/icanhaz: *
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2024-09-14 17:42:44 UTC
README
提供资产包以方便将 icanhaz 集成到您的 Yii2 应用程序中。
安装
安装此扩展的首选方式是通过 composer。
运行以下命令
composer require --prefer-dist "madand/yii2-icanhaz:*"
或者在您的 composer.json
文件的 require
部分添加以下内容
"madand/yii2-icanhaz": "*"
to the require
section of your composer.json
file.
用法
在视图文件中注册资产
\madand\icanhaz\ICanHazAsset::register($this);
许可证
BSD 许可证(BSD)。有关更多信息,请参阅许可证文件。