riclep/lorem-flickr-faker

Lorem Flickr provider for Faker

0.0.3 2018-07-11 13:41 UTC

This package is auto-updated.

Last update: 2024-11-28 02:19:02 UTC


README

Install

Add riclep/lorem-flickr-faker to your composer.json or from CLI:

$ composer require riclep/lorem-flickr-faker

Usage

$faker = Faker\Factory::create();
$faker->addProvider(new RicLeP\Faker\LoremFlickrFakerProvider($faker));

// size
$url = $faker->loremFlickrImageUrl(640, 489); // https://loremflickr.com/640/480