tirrex / php-yii-ext-bootstrap4-glyphicons
How to use Glyphicons with Bootstrap 4
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Type:yii2-extension
pkg:composer/tirrex/php-yii-ext-bootstrap4-glyphicons
Requires
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2025-12-23 22:40:20 UTC
README
If you want use Glyphicons in your Yii2 project with Bootstrap 4 (https://github.com/yiisoft/yii2-bootstrap4)
Installation
The preferred way to install this extension is through composer.
Add the repo to your composer.json.
"repositories":[
...
{
"type": "git",
"url": "https://bitbucket.org/tirrex/php-yii-ext-bootstrap4-glyphicons.git"
}
...
]
Either run
php composer.phar require --prefer-dist tirrex/php-yii-ext-bootstrap4-glyphicons "*"
or add
"tirrex/php-yii-ext-bootstrap4-glyphicons": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your Layout code:
<?php
use tirrex\bootstrap4glyphicons\assets\GlyphiconAsset;
GlyphiconAsset::register($this);