定制 gietos/yii2-ionicons 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gietos/yii2-ionicons

最新稳定版本:v2.0.3

Composer 安装命令:

composer require gietos/yii2-ionicons

包简介

Asset Bundle for Yii2 with Ionicons

README 文档

README

Asset Bundle for Yii2 with Ionicons http://ionicons.com/

Latest Stable Version Total Downloads License

Installation

The suggested installation method is via composer:

composer require gietos/yii2-ionicons

Or add in composer.json:

{
    "require": {
        "gietos/yii2-ionicons": "2.0.*"
    }
}

Usage

In view

gietos\yii\ionicons\AssetBundle::register($this);

or as dependency in your asset bundle

class AppAsset extends AssetBundle
{
	public $depends = [
		'\gietos\yii\ionicons\AssetBundle'
	];
}

Helper

use gietos\yii\ionicons\Ion;

echo Ion::icon('heart');
// <i class="ion ion-heart"></i>

统计信息

  • 总下载量: 1.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-02