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: 5 months ago
JSON representation
Utility to get the markup of Bootstrap icons (https://icons.getbootstrap.com/)
- Host: GitHub
- URL: https://github.com/aeyoll/bootstrap-icons
- Owner: aeyoll
- License: mit
- Created: 2021-03-11T12:39:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-13T21:44:43.000Z (over 3 years ago)
- Last Synced: 2025-04-06T22:18:44.965Z (7 months ago)
- Topics: php-bootstrap-icon
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 "