Download the PHP package toneflix-code/fontawsome5-php without Composer
On this page you can find all versions of the php package toneflix-code/fontawsome5-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download toneflix-code/fontawsome5-php
More information about toneflix-code/fontawsome5-php
Files in toneflix-code/fontawsome5-php
Package fontawsome5-php
Short Description Allows you to use fontawsome 5 icons in your php project.
License MIT
Homepage https://github.com/toneflix/fontawsome5-php
Informations about the package fontawsome5-php
font-awesome5-php
A PHP wrapper around Font Awesome 5 that allows you to call and use fontawesome 5 icons in your php project.
Requirements
- PHP 5.4.0 or later
- Font Awesome 5.15.3 or later
Install
Via Composer
Via download
Download a release version from the releases page. Extract, then:
Usage
0. First Things
This library does not provide Font Awesome so make sure you fulfill that dependency
Depending on what FontAwesome you own, LICENSE
may need to be set to any of [free, pro, all]
and also $icon_type
may need to be set to any of [brands, duotone, light, regular, solid, all]
1. Initialize
Initialize by calling to the FontAwesome()
Class
2. Icons Array
To get an array of all icons available to your provided params:
3. Html Select
The library can help you generate a html select with icons set as options and example of what to expect would be:
Implementation can easily be done
License
The MIT License (MIT). Please see License File for more information.