2017 © Pedro Peláez
 

library fontawesome-builder

Wrapper for php to create html for fontawesome library

image

ditoskas/fontawesome-builder

Wrapper for php to create html for fontawesome library

  • Sunday, July 15, 2018
  • by ditoskas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

fontawesome-builder

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)

The Versions

15/07 2018

dev-master

9999999-dev

Wrapper for php to create html for fontawesome library

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Dimitris Toskas