Download the PHP package mylistryx/yii2-fontawesome-pro without Composer
On this page you can find all versions of the php package mylistryx/yii2-fontawesome-pro. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-fontawesome-pro
FontAwesome PRO asset bundle for Yii 2.0 Framework
Installation
Changelog
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.