maslosoft / sprite
Icons sprite generator with signals support
3.2.6
2023-05-11 12:48 UTC
Requires
- php: >=8.2
- ext-gd: *
- latte/latte: >=1.0 <4.0
- maslosoft/cli-shared: *
- maslosoft/embedi: *
- maslosoft/miniview: *
- maslosoft/signals: *
- maslosoft/sitcom: *
- psr/log: ^1|^2|^3
- symfony/console: >=2.7 <=7
- symfony/finder: >=2.7 <=7
Requires (Dev)
- codeception/codeception: ^5
- codeception/module-asserts: ^3
- monolog/monolog: ^3
- roave/security-advisories: dev-latest
README
Icon sprite generator
Install with composer:
composer require "maslosoft/sprite:*"
When using with Yii can be configured like that:
// application components 'components' => [ ... 'sprite' => [ 'class' => Maslosoft\Sprite\Generator::class, 'iconCssClass' => 'icon', 'paths' => [ realpath(dirname(__FILE__) . '/../../www/css/icons') ] ], ...