yiirocks / svg-inline-bootstrap
Inline Bootstrap Icons for Yii
Fund package maintenance!
1.0.3
2026-07-04 18:20 UTC
Requires
- php: >=8.3
- 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
- infection/infection: ^0.34.0
- phpmd/phpmd: @stable
- phpunit/phpunit: @stable
- squizlabs/php_codesniffer: ^4.0
- vimeo/psalm: ^6.0
- yiisoft/config: ^1.6
- yiisoft/di: *
This package is auto-updated.
Last update: 2026-07-14 16:11:46 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.
Stats for Nerds
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, PHPUnit and Infection. To run tests:
composer psalm composer phpunit composer infection