Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
psion-ar committed Jun 20, 2024
1 parent aeea2a8 commit d2fb9ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
A custom image provider for the [FakerPHP](https://github.com/FakerPHP) library.
The package uses [LOREM PICSUM](http://picsum.photos) to generate url's and images.

## Installation
```bash
composer require psn/faker-image-provider
```

## Usage
- add provider

Expand All @@ -17,6 +22,7 @@ The package uses [LOREM PICSUM](http://picsum.photos) to generate url's and imag
- generate url's

```
// signature
Image::imageUrl(int $witdth = 640, int $height = 480): string
```
```php
Expand All @@ -29,6 +35,7 @@ The package uses [LOREM PICSUM](http://picsum.photos) to generate url's and imag
- generate images

```
// signature
Image::image(
int $width = 640,
int $height = 480,
Expand Down

0 comments on commit d2fb9ae

Please sign in to comment.