yiirocks / svg-inline-bootstrap
Inline Bootstrap Icons for Yii
Installs: 363
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 3
Type:yii3-extension
Requires
- php: >=7.4.0
- npm-asset/bootstrap-icons: ^1.2
- yiirocks/svg-inline: ^1.0
- yiisoft/html: ^2.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- httpsoft/http-message: ^1.0
- phpmd/phpmd: @stable
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^4.1
- yiisoft/config: ^1.0
- yiisoft/di: ^3.0
This package is auto-updated.
Last update: 2024-11-09 17:35:22 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 PHPUnit. To run tests:
./vendor/bin/phpunit