benoth/cssprites
最新稳定版本:1.0.1
Composer 安装命令:
composer require benoth/cssprites
包简介
Simple CSS Sprites generator
README 文档
README
This package is compliant with PSR-1, PSR-2 and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Simple CSS Sprites generator.
Requirements
The following versions of PHP are supported:
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
Installation
Phar file
Download the cssprites.phar.
wget https://github.com/Benoth/cssprites/releases/download/1.0.1/cssprites.phar
To install globally put cssprites.phar in /usr/bin.
chmod +x cssprites.phar && sudo mv cssprites.phar /usr/local/bin/cssprites
Composer global
composer global require benoth/cssprites
Usage
Short version
Go in your sprite's images directory and run cssprites generate and just answer the few asked questions on how you want your sprite generated.
You can also run with -i path/to/images and -n for non interactive mode.
Long version
@todo
Testing
$ vendor/bin/phpunit
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 249
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-30