redpandacoding / fakealfred
FakeAlfred is a PHP library that will generate fake data for you. Utilizing fzaninotto/faker and knpuniversity/lorem-ipsum-bundle
Installs: 379
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/redpandacoding/fakealfred
Requires
- php: ^7.1.3
- fzaninotto/faker: ^1.7
Requires (Dev)
- phpunit/phpunit: ^7.1
This package is auto-updated.
Last update: 2025-10-09 05:27:12 UTC
README
Dry Bulk Material names generated using fzaninotto/Faker
Installation
Add FakeAlfred library to your composer.json
file:
composer require redpandacoding/fakealfred
Usage
To use this with Faker, you must add the Fake\Alfred\Provider\Material
class to the Faker generator:
<?php $faker = \Faker\Factory::create(); $faker->addProvider(new \Fake\Alfred\Provider\Material($faker)); // Generator $faker->materialName(); // A random Material Name