ditoskas/fontawesome-builder
Composer 安装命令:
composer require ditoskas/fontawesome-builder
包简介
Wrapper for php to create html for fontawesome library
README 文档
README
Render the font-awesome icons using php
Add to the composer.json file the below repository and require section to install the library
{ "require": { "ditoskas/fontawesome-builder": "dev-master" } }
or run
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.
<?php use \FontAwesomeBuilder\Models\FaIcon; $faIcon = new FaIcon(); echo $faIcon->create()->icon(FontAwesomeClassEnum::STROOPWAFEL);
Check the documentation page with more examples
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-14