Better readme
This commit is contained in:
parent
76c3340df6
commit
2b6d241bdf
1 changed files with 4 additions and 8 deletions
12
README.md
12
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();
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue