Skip to content

Instantly share code, notes, and snippets.

View ideogram's full-sized avatar

Maarten van der Velde ideogram

View GitHub Profile
@ideogram
ideogram / svg2sprite.php
Created January 26, 2017 10:41
CLI PHP script to merge a (large) number of SVG files into 1 svg sprite
<?php
/**
* Created by PhpStorm.
* User: maartenvandervelde
* Date: 16/01/17
* Time: 08:23
*/
/*
* First, optionally, use SVGO to compress all SVG's: