aeyoll/bootstrap-icons

Utility to get the markup of Bootstrap icons (https://icons.getbootstrap.com/)

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/aeyoll/bootstrap-icons

0.1.1 2021-03-11 14:07 UTC

This package is auto-updated.

Last update: 2025-09-14 04:41:56 UTC


README

Utility to get the markup of Bootstrap icons (https://icons.getbootstrap.com/)

Installation

composer require aeyoll/bootstrap-icons

Usage

Get an icon markup:

use Aeyoll\BootstrapIcons\BootstrapIcons;

$bi = new BootstrapIcons();
$alertIcon = $bi->getIcon('alarm');

Display an icon markup:

use Aeyoll\BootstrapIcons\BootstrapIcons;

$bi = new BootstrapIcons();
$bi->displayIcon('alarm'); // Echo "<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-alarm" ...