This package helps you get fancy-pancy foodnames in Faker! Pietje Pizza? Berend Barbeque?
composer require dejury/faker-food-names
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));
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 your meal!