thoulah / yii2-fontawesome-inline
Inline Font Awesome Icons for Yii2 – without JavaScript
Installs: 4 033
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 2
Type:yii2-extension
Requires
- php: >=7.1.0
- ext-dom: *
- fortawesome/font-awesome: ~5.1
- yiisoft/yii2: ~2.0
- yiisoft/yii2-bootstrap4: ~2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.17.3
- phpmd/phpmd: @stable
- phpunit/phpunit: >=7.5
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-11-13 12:16:52 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 2.0 applications to add Font Awesome Icons inline without the use of JavaScript.
Installation
The package could be installed via composer:
composer require thoulah/yii2-fontawesome-inline
Quick Usage
echo Yii::$app->fontawesome->name('github', 'brands')->fill->('#003865');
Various implementations and options are available. Please visit Yii.Rocks for more information.
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit