yiirocks/svg-inline-bootstrap

Inline Bootstrap Icons for Yii

1.0.1 2025-03-19 09:52 UTC

This package is auto-updated.

Last update: 2025-06-25 20:05:34 UTC


README

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 applications to add Bootstrap Icons inline.

Packagist Version PHP from Packagist Packagist GitHub

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

Maintainability Codacy branch grade GitHub Workflow Status