thtmorais/yii2-icons Assets icons for Yii PHP Framework

  1. Assets icons for Yii PHP Framework 2
  2. Installation
  3. Usage

Assets icons for Yii PHP Framework 2 ¶

Installation ¶

The preferred way to install this extension is through composer.

Either run

composer require thtmorais/yii2-icons "*"

or add

"thtmorais/yii2-icons": "*"

to the require section of your composer.json file.

Usage ¶

Once the extension is installed, simply use it in your code by :

Feather Icons use:

<?php

use thtmorais\icons\FeatherIconsAsset;

FeatherIconsAsset::register($this);

?>

You can check all details about Feather Icons here.

Flag Icons use:

<?php

use thtmorais\icons\FlagIconsAsset;

FlagIconsAsset::register($this);

?>

You can check all details about Flag Icons here.

Keyboard Key Icons use:

<?php

use thtmorais\icons\KeyboardKeyIconsAsset;

KeyboardKeyIconsAsset::register($this);

?>

You can check all details about Keyboard Key Icons here.

0 0
1 follower
10 692 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Tags:
Developed by: Matheus Morais Matheus Morais
Created on: Apr 14, 2021
Last updated: (not set)
Packagist Profile
Github Repository