Better readme

This commit is contained in:
Josh Sherman 2016-02-20 11:19:37 -05:00
parent 76c3340df6
commit 2b6d241bdf

View file

@ -1,14 +1,10 @@
# php-pixel # php-pixel
> Yo Dawg, I herd you like pixels, so I put a pixel in your pixel so you can Generate a 1x1 transparent pixel in PHP.
> pixel while you pixel.
Why does this exist? Because I got sick of looking up how to generate a single
transparent pixel in PHP.
## Installation ## Installation
``` ```shell
composer require "joshtronic/php-pixel:dev-master" composer require "joshtronic/php-pixel:dev-master"
``` ```
@ -16,13 +12,13 @@ composer require "joshtronic/php-pixel:dev-master"
### GIF ### GIF
``` ```php
joshtronic\Pixel::gif(); joshtronic\Pixel::gif();
``` ```
### PNG ### PNG
``` ```php
joshtronic\Pixel::png(); joshtronic\Pixel::png();
``` ```