PHPackages                             yiirocks/svg-inline-bootstrap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. yiirocks/svg-inline-bootstrap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yiirocks/svg-inline-bootstrap
=============================

Inline Bootstrap Icons for Yii

1.0.2(1mo ago)05991MITPHPPHP &gt;=8.2CI passing

Since Mar 13Pushed 1w ago1 watchersCompare

[ Source](https://github.com/YiiRocks/svg-inline-bootstrap)[ Packagist](https://packagist.org/packages/yiirocks/svg-inline-bootstrap)[ Docs](https://www.yii.rocks/svg-inline-bootstrap/)[ RSS](/packages/yiirocks-svg-inline-bootstrap/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (21)Versions (5)Used By (1)

Inline Bootstrap Icons for Yii
==============================

[](#inline-bootstrap-icons-for-yii)

> **inline**
> ***/ˈɪnlʌɪn/***
> *adjective*
>
> included 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](http://www.yiiframework.com/) applications to add [Bootstrap](https://getbootstrap.com/) [Icons](https://icons.getbootstrap.com/) inline.

[![Packagist Version](https://camo.githubusercontent.com/1a6dbef00c39ee8d66a6c67ebcb65c352a9e53f00daf3680084c07782771642f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796969726f636b732f7376672d696e6c696e652d626f6f7473747261702e737667)](https://packagist.org/packages/yiirocks/svg-inline-bootstrap)[![PHP from Packagist](https://camo.githubusercontent.com/17fae87df5e8849652536c40b0647bf0078f515bdd3edd99ebd31d789e31c4c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f796969726f636b732f7376672d696e6c696e652d626f6f7473747261702e737667)](https://php.net/)[![Packagist](https://camo.githubusercontent.com/a310ffe2d67986259c3c37c74a23e702809b2fd8f80cbe2b619ef9253ffd2bd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796969726f636b732f7376672d696e6c696e652d626f6f7473747261702e737667)](https://packagist.org/packages/yiirocks/svg-inline-bootstrap)[![GitHub](https://camo.githubusercontent.com/ab1681b62361a489f65c00b0a5ccdaa56836d704552823704de1c52ca43e7472/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f796969726f636b732f7376672d696e6c696e652d626f6f7473747261702e737667)](https://github.com/yiirocks/svg-inline-bootstrap/blob/master/LICENSE)

Installation
------------

[](#installation)

The package could be installed via composer:

```
composer require yiirocks/svg-inline-bootstrap
```

Usage
-----

[](#usage)

The default configuration will enable `$svg` in any view.

```
echo $svg->bootstrap('award');
```

Available options can be found in the [documentation](https://www.yii.rocks/svg-inline/bootstrap/).

Unit testing
------------

[](#unit-testing)

The package is tested with [Psalm](https://psalm.dev/) and [PHPUnit](https://phpunit.de/). To run tests:

```
composer psalm
composer phpunit
```

[![Maintainability](https://camo.githubusercontent.com/3bf4396f19fdc04513176146d8bddf34c755cd4ab48d7e1128aa93af3796348c/68747470733a2f2f716c74792e73682f6261646765732f63306333353564322d626663382d343062662d383631312d3635653432653835366233352f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/YiiRocks/projects/svg-inline-bootstrap)[![Codacy branch grade](https://camo.githubusercontent.com/3a16e0ffc77d35f07959c03212208717a25713c642b7cc1a00c5a34d31970448/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f31616330366138666231666534643137626132303833393933383139343565322f6d61737465722e737667)](https://app.codacy.com/gh/YiiRocks/svg-inline-bootstrap)[![GitHub Workflow Status](https://camo.githubusercontent.com/28923ad8abc561a2fc6164f0c7b2f57e19fe007c8266a288441b8f52ffdec563/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f596969526f636b732f7376672d696e6c696e652d626f6f7473747261702f706870756e69742e796d6c3f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/28923ad8abc561a2fc6164f0c7b2f57e19fe007c8266a288441b8f52ffdec563/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f596969526f636b732f7376672d696e6c696e652d626f6f7473747261702f706870756e69742e796d6c3f6272616e63683d6d6173746572)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance95

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~186 days

Total

3

Last Release

50d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.1

1.0.2PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/1957a3dc890165f142079565dc6b0ef59c26838a36fba5f052985e34612ce269?d=identicon)[mr42](/maintainers/mr42)

---

Top Contributors

[![Mister-42](https://avatars.githubusercontent.com/u/68641750?v=4)](https://github.com/Mister-42 "Mister-42 (44 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")

---

Tags

bootstrapbootstrap-iconsextensioniconiconsinlineinline-bootstrap-iconssvgyiiyii3yii3-extensionsiconssvgextensionyiiiconinlineyii3Bootstrap Icons

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yiirocks-svg-inline-bootstrap/health.svg)

```
[![Health](https://phpackages.com/badges/yiirocks-svg-inline-bootstrap/health.svg)](https://phpackages.com/packages/yiirocks-svg-inline-bootstrap)
```

###  Alternatives

[kartik-v/yii2-icons

Set of icon frameworks for use in Yii Framework 2.0

73970.3k34](/packages/kartik-v-yii2-icons)[fortawesome/wordpress-fontawesome

Official Font Awesome WordPress plugin composer package.

662.1k](/packages/fortawesome-wordpress-fontawesome)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
