tiendanube-nimbus / icons
0.1.6
2026-01-22 13:06 UTC
Requires (Dev)
- orchestra/testbench: ^3.8
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 -d
And open: http://localhost:3007/src/example.php to see live sample.