PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Uldis Nelsons   D3 PHP Icon SVG Image Render   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: D3 PHP Icon SVG Image Render
Generate HTML for standard icons and country flags
Author: By
Last change:
Date: 8 months ago
Size: 575 bytes
 

Contents

Class file image Download

D3Icons

icons

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist d3yii2/d3icons "*"

or add

"d3yii2/d3labels": "*"

to the require section of your composer.json file.

Usage

by type

echo Icon::icon(d3yii2\d3icon\Icon::TYPE_SVG,d3yii2\d3icon\components\IconSvg::ALERT_CIRCLE);

direct method

echo d3yii2\d3icon\Icon::svg(d3yii2\d3icon\components\IconSvg::EYE);
echo Icon::fa('pencil)