From 2b6d241bdf42e87ded1ad80c1fd848f7d6269460 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sat, 20 Feb 2016 11:19:37 -0500 Subject: [PATCH] Better readme --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index de8cc28..ee279c5 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,10 @@ # php-pixel -> Yo Dawg, I herd you like pixels, so I put a pixel in your pixel so you can -> pixel while you pixel. - -Why does this exist? Because I got sick of looking up how to generate a single -transparent pixel in PHP. +Generate a 1x1 transparent pixel in PHP. ## Installation -``` +```shell composer require "joshtronic/php-pixel:dev-master" ``` @@ -16,13 +12,13 @@ composer require "joshtronic/php-pixel:dev-master" ### GIF -``` +```php joshtronic\Pixel::gif(); ``` ### PNG -``` +```php joshtronic\Pixel::png(); ```