yiirocks / svg-inline-bootstrap
Inline Bootstrap Icons for Yii
1.0.2
2026-03-20 11:47 UTC
Requires
- php: >=8.2
- twbs/bootstrap-icons: ^1.13
- yiirocks/svg-inline: ^1.0
- yiisoft/html: ^3.9 || ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: @stable
- httpsoft/http-message: ^1.1
- phpmd/phpmd: @stable
- phpunit/phpunit: @stable
- squizlabs/php_codesniffer: ^3.11
- vimeo/psalm: @stable
- yiisoft/config: ^1.6
- yiisoft/di: *
This package is auto-updated.
Last update: 2026-03-20 18:11:03 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 Bootstrap Icons inline.
Installation
The package could be installed via composer:
composer require yiirocks/svg-inline-bootstrap
Usage
The default configuration will enable $svg in any view.
echo $svg->bootstrap('award');
Available options can be found in the documentation.
Unit testing
The package is tested with Psalm and PHPUnit. To run tests:
composer psalm composer phpunit