madand/yii2-icanhaz

为 Yii2 提供的 icanhaz 资产

安装: 1

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

类型:yii2-extension

dev-master 2015-05-09 12:06 UTC

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)。有关更多信息,请参阅许可证文件