tiendanube-nimbus/icons
最新稳定版本:0.1.5
Composer 安装命令:
composer require tiendanube-nimbus/icons
包简介
README 文档
README
This is a PHP version from Nimbus Icon
👾 See live demo here
Get started
This project using composer.
$ composer require tiendanube-nimbus/icons
How to use
<?php use Nimbus\Icon; // Icon::get(ICON_NAME, SIZE, COLOR) $icon = Icon::get("home", 40, '#000000'); echo $icon;
Options
Params allowed on Icon::get() method
| Param | Type | Required | Default |
|---|---|---|---|
$name |
string | true | null |
$size |
int | false | 16 |
$color |
string | false | "#000000" |
Available Icons
To use on $name param as string.
Test locally
We have a simple docker file to test locally, run:
$ docker-compose up
And open: http://localhost/src/example.php to see live sample.
统计信息
- 总下载量: 2.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-06