mylistryx/yii2-fontawesome-pro
最新稳定版本:7.1.0
Composer 安装命令:
composer require mylistryx/yii2-fontawesome-pro
包简介
Yii2 FontAwesome PRO asset bundle
README 文档
README
Installation
The preferred way to install this extension is through composer
Either run:
composer require mylistryx/yii2-fontawesome-pro or add "mylistryx/yii2-fontawesome-pro": "~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:
<?= FAS::icon('gear') ?> - Solid
<?= FADS::icon('gear') ?> - Duotone Solid
<?= FASS::icon('gear') ?> - Shape Solid
<?= FASDS::icon('gear') ?> - Shape Duotone Solid
<?= FAL::icon('gear') ?> - Light
<?= FADL::icon('gear') ?> - Duotone Light
<?= FASL::icon('gear') ?> - Shape Light
<?= FASDL::icon('gear') ?> - Shape Duotone Light
<?= FAR::icon('gear') ?> - Regular
<?= FADR::icon('gear') ?> - Duotone Regular
<?= FASR::icon('gear') ?> - Shape Regular
<?= FASDR::icon('gear') ?> - Shape Duotone Regular
<?= FAT::icon('gear') ?> - Thin
<?= FADT::icon('gear') ?> - Duotone Thin
<?= FAST::icon('gear') ?> - Shape Thin
<?= FASDT::icon('gear') ?> - Shape Duotone Thin
... and so on. Full list of free icons see on fontawesome home page: https://fontawesome.com/icons
Some 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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-12