Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vslinko/spriter
PHP library for compiling css sprites
https://github.com/vslinko/spriter
Last synced: 22 days ago
JSON representation
PHP library for compiling css sprites
- Host: GitHub
- URL: https://github.com/vslinko/spriter
- Owner: vslinko
- License: mit
- Created: 2012-09-22T13:25:59.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-25T20:28:40.000Z (about 12 years ago)
- Last Synced: 2024-09-21T00:32:44.082Z (about 2 months ago)
- Language: PHP
- Size: 129 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spriter
PHP library for compiling css sprites
## Installation
Spriter is distributed by [composer](http://getcomposer.org).
You must install composer before you can install spriter.If you have composer installed than run in your project root:
```
composer.phar require rithis/spriter:@dev
```## Usage
### Spriter console
Composer installs spriter console in your project.
Now you can simple create you sprite:```
./vendor/bin/spriter css --recursive web/images --output web
```That command recursively scans directory `web/images` for images
and write result sprite files in `web/sprite.png` and `web/sprite.css`.