Skip to content

Add faker food persons (in Dutch), like: Pietje Pizza, Barry Barbeque.

Notifications You must be signed in to change notification settings

dejury/faker-food-names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Faker Food Names

This package helps you get fancy-pancy foodnames in Faker! Pietje Pizza? Berend Barbeque?

Setup

composer require dejury/faker-food-names

Installation

After adding this into your project, you can initialize the provider by doing:

<?php
require 'vendor/autoload.php';

$faker = \Faker\Factory::create();
$faker->addProvider(new \Dejury\FakerFoodNames\Provider\FoodName($faker));

Usage

You can easily get a food name by executing:

echo $faker->foodName->fullName; // Andre Andijvie
echo $faker->foodName->firstName; // Andre
echo $faker->foodName->lastName; // Andijvie

Enjoy

Enjoy your meal!

About

Add faker food persons (in Dutch), like: Pietje Pizza, Barry Barbeque.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages