daxslab/yii2-simple-line-icons

Simple Line Icons Asset Bundle for Yii2

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Type:yii2-extension

1.0.1 2020-06-10 02:28 UTC

This package is auto-updated.

Last update: 2024-11-10 12:20:58 UTC


README

Installation

The preferred way to install this extension is through composer.

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

"daxslab/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
\daxslab\assets\SimpleLineIconsAsset::register($this);

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

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