Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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/)
- Host: GitHub
- URL: https://github.com/aeyoll/bootstrap-icons
- Owner: aeyoll
- License: mit
- Created: 2021-03-11T12:39:14.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-13T21:44:43.000Z (over 2 years ago)
- Last Synced: 2024-11-01T23:25:11.520Z (about 2 months ago)
- Topics: php-bootstrap-icon
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 3
- 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 "