# 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. ## Installation ``` composer require "joshtronic/php-pixel:dev-master" ``` ## Usage ### GIF ``` joshtronic\Pixel::gif(); ``` ### PNG ``` joshtronic\Pixel::png(); ```