dejury / faker-food-names
Creates (Dutch) Fake names to be used in Faker. Can be used to generate persons like: "Pietje Pizza", "Barry Barbeque", "Steven Steengrill"
1.0.1
2021-08-10 09:28 UTC
Requires
- php: ^7.4|^8.0
- fakerphp/faker: ^1.14
- illuminate/support: ^8.37
This package is auto-updated.
Last update: 2024-10-10 16:48:56 UTC
README
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!