bilions/faker-images

Faker image provider for Laravel faker

Installs: 2 485

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/bilions/faker-images

v1.0.1 2022-10-09 06:48 UTC

This package is auto-updated.

Last update: 2025-10-09 15:53:08 UTC


README

Faker image provider

  • This package do not use curl to get image from third party web links.
  • Images are generated using php image-gd and normally gd extension is already included when you install php.

Example Usage

$faker->addProvider(new FakerImageProvider($faker));
$image = $faker->image(null, 640, 480);
$filePath = Storage::disk('local')->putFileAs('seeder-images', new File($image), basename($image));

Contributors are always welcome