mimicreative/yii2-simple-line-icons

Simple Line Icons Asset Bundle for Yii2

1.0.0 2016-11-01 10:05 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:01:53 UTC


README

Installation

The preferred way to install this extension is through composer.

Add to the require section of your composer.json file:

"mimicreative/yii2-simple-line-icons": "~1.0"

And run in terminal

composer update

Usage

Use as the asset bundle in Yii2 View files.

// write this in your view file or layout
\mimicreative\assets\SimpleLineIconsAsset::register($this);

Or maybe you prefer to include it in your asset dependency.

public $depends = [
  // ...
  'mimicreative\assets\SimpleLineIconsAsset',
  // ...
];