Projectsfaker-foodz

Faker Foodz

Data Generator Package

Leverage a set of food pics stylised like product pictures.

Foodz

Food image faker for PHP.

Static Analysis Tests

Introduction

FakerFoodz is a lightweight PHP package designed to generate fake food images that can be used for a variety of purposes, like avatars and other placeholders.

All images are 1024*1024 60% quality JPEGs, resulting in 50-130KB per image.

example

Repositories

Imagez available:

Installation

composer require bradietilley/faker-foodz

Documentation

The documentation for this is the same as the base Imagez documentation, except instead of imagez() you'll need to use foodz().

Quick example:

foodz()->path();                             // string path: /path/to/pics/food_0037.jpg
foodz()->path();                             // string path: /path/to/pics/food_0101.jpg
foodz()->all();                              // array of string paths

Author