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
|
# 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();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue