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.
The following versions of PHP are supported:
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
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 require benoth/cssprites
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.
@todo
$ vendor/bin/phpunit
The MIT License (MIT). Please see License File for more information.