An open API service indexing awesome lists of open source software.

https://github.com/pxlrbt/faker-better-unique

Replaces the default Faker with an extended Faker instance that adds `betterUnique()` – `unique()` based on a key.
https://github.com/pxlrbt/faker-better-unique

fakerphp laravel

Last synced: 5 months ago
JSON representation

Replaces the default Faker with an extended Faker instance that adds `betterUnique()` – `unique()` based on a key.

Awesome Lists containing this project

README

          

# Faker `betterUnique()`

Better unique allows you to pass a key for separate unique generator instances:

`$faker->betterUnique('user_id')->numberBetween(1, 1000);`

## Installation

You can install the package via composer:

```bash
composer require pxlrbt/faker-better-unique
```

## Credits

- [Dennis Koch](https://github.com/pxlrbt)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.