yiirocks/svg-inline-bootstrap Inline Bootstrap Icons for Yii

Inline Bootstrap Icons for Yii ¶

  1. Installation
  2. Usage
  3. Unit testing

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 GitHub Workflow Status

Stats for Nerds

Coverage MSI Tests Assertions

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
0 0
1 follower
753 downloads
Yii Version: Unknown
License: MIT
Category: Web Service
Developed by: Иван Иван
Created on: Dec 24, 2020
Last updated: a year ago
Packagist Profile
Github Repository

Related Extensions