Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aeyoll/bootstrap-icons

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

php-bootstrap-icon

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Bootstrap Icon

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

Installation
---

```sh
composer require aeyoll/bootstrap-icons
```

Usage
---

### Get an icon markup:

```php
use Aeyoll\BootstrapIcons\BootstrapIcons;

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

### Display an icon markup:

```php
use Aeyoll\BootstrapIcons\BootstrapIcons;

$bi = new BootstrapIcons();
$bi->displayIcon('alarm'); // Echo "