mylistryx/yii2-fontawesome-free 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mylistryx/yii2-fontawesome-free

最新稳定版本:6.7.1

Composer 安装命令:

composer require mylistryx/yii2-fontawesome-free

包简介

Yii2 FontAwesome Free asset bundle

README 文档

README

FontAwesome Free asset bundle for Yii 2.0 Framework

Installation

Changelog of package

The preferred way to install this extension is through composer

Either run:

composer require mylistryx/yii2-fontawesome-free or add "mylistryx/yii2-fontawesome-free": "~6.0.0" into your composer.json file.

Then register assets in your view file:

FontAwesomeAsset::register($this) OR FontAwesomeCdnAsset::register($this) to use CDN files.

and use:

<?= FA::icon('name') ?>

<?= FA::icon('pencil') ?>

<?= FA::icon('gear') ?>

<?= FAS::icon('pencil) ?> is same as <?= FA::icon('pencil') ?>

<?= FAB::icon('facebook') ?> - FAB helper for Brands collection

... and so on. Full list of free icons see on fontawesome home page: https://fontawesome.com/icons

Attention!

Other helpers exists only for backward capability with PRO version! Some Solid icons excluded from Free version!

Animation

Animations are represented:

<?= FA::i('gear')->animate((new Beat(3.0))) ?>

<?= FA::i('gear')->animate((new Shake())) ?>

<?= FA::i('gear')->animate((new Spin())) ?>

<?= FA::i('gear')->animate((new Flip())) ?>

<?= FA::i('gear')->animate((new Bounce())) ?>

see source files for more.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-21