yiirocks / svg-inline-fontawesome
Inline Font Awesome Icons for Yii
1.0.1
2025-03-19 09:54 UTC
Requires
- php: >=8.1
- fortawesome/font-awesome: ^6.7
- yiirocks/svg-inline: ^1.0
- yiisoft/aliases: ^3.0
- yiisoft/assets: ^5.1
- yiisoft/html: ^3.9
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.70
- httpsoft/http-message: ^1.1
- phpmd/phpmd: @stable
- phpunit/phpunit: ^10.5
- squizlabs/php_codesniffer: ^3.11
- yiisoft/config: ^1.6
- yiisoft/di: *
- yiisoft/files: ^2.0
- yiisoft/yii-http: ^1.0
This package is auto-updated.
Last update: 2025-03-23 20:06:51 UTC
README
inline
/ˈɪnlʌɪn/
adjectiveincluded as part of the main text on a page, rather than in a separate section
This extension provides simple functions for Yii framework 3.0 applications to add Font Awesome Icons inline.
Installation
The package could be installed via composer:
composer require yiirocks/svg-inline-fontawesome
Usage
The default configuration will enable $svg
in any view.
echo $svg->fai('cookie');
Available options can be found in the documentation.
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit