maslosoft/sprite

Sprite generator for Yii

Installs: 67

Dependents: 0

Watchers: 1

Open Issues: 4

Language: PHP

2.0.0 2013-12-05 14:36 UTC

README

Icon sprite generator

Install with composer:

composer require "maslosoft/sprite:*"

Configure it:

     // application components
     'components' => [
     ...
          'sprite' => [
                'class' => Maslosoft\Sprite\Generator::class,
                'cssIconClass' => 'icon',
                'imageFolderPath' => [
                     realpath(dirname(__FILE__) . '/../../www/css/icons')
                ]
          ],
        ...