Download the PHP package bugo/fa-php-helper without Composer
On this page you can find all versions of the php package bugo/fa-php-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bugo/fa-php-helper
More information about bugo/fa-php-helper
Files in bugo/fa-php-helper
Download bugo/fa-php-helper
More information about bugo/fa-php-helper
Files in bugo/fa-php-helper
Vendor bugo
Package fa-php-helper
Short Description Helper classes to get FontAwesome icons html code
License MIT
Homepage https://github.com/dragomano/fa-php-helper
Package fa-php-helper
Short Description Helper classes to get FontAwesome icons html code
License MIT
Homepage https://github.com/dragomano/fa-php-helper
Keywords phpFontAwesome
Please rate this library. Is it a good library?
Informations about the package fa-php-helper
FontAwesome PHP Helper
По-русски
Description
This package is designed to generate CSS classes and HTML code for FontAwesome 6 icons. In addition, the following features are available:
- add icon colors
- resize icons
- support for both modern (
fa-solid fa-
) and deprecated (fas fa-
) classes. - use fixed width icons (
fa-fw
) to display in lists - optionally add the
aria-hidden="true"
attribute to hide icons from screen readers, etc. - get CSS class of a random icon
- collection of CSS classes of all icons
Installation
Using
If only CSS classes are needed:
Advanced example:
Additional classes can be passed through the addClass
method:
You can also get a random icon:
And so you can get the whole collection with all CSS classes at once:
All versions of fa-php-helper with dependencies
PHP Build Version
Package Version
The package bugo/fa-php-helper contains the following files
Loading the files please wait ....