dev-master
9999999-devWrapper for php to create html for fontawesome library
MIT
The Requires
- php >=5.6
The Development Requires
by Dimitris Toskas
Wrapper for php to create html for fontawesome library
Render the font-awesome icons using php, (*1)
Add to the composer.json file the below repository and require section to install the library, (*2)
{ "require": { "ditoskas/fontawesome-builder": "dev-master" } }
or run, (*3)
composer require ditoskas/fontawesome-builder
To use the library on the project, add the use statement, declare a FaIcon model or use the static FontAwesomeBuilder and call the icon function., (*4)
<?php use \FontAwesomeBuilder\Models\FaIcon; $faIcon = new FaIcon(); echo $faIcon->create()->icon(FontAwesomeClassEnum::STROOPWAFEL);
Check the documentation page with more examples, (*5)
Wrapper for php to create html for fontawesome library
MIT