An Elixir package for generating fake data like names, addresses, and emails for seeding databases and testing.
FakerElixir is an Elixir library that generates realistic fake data for development and testing purposes. It helps developers seed databases, create test factories, and populate applications with mock data efficiently across multiple categories like addresses, names, and commerce.
Elixir developers, particularly those using Phoenix, who need to generate fake data for seeding databases, creating test factories, or populating applications during development and testing.
Developers choose FakerElixir for its built-in locale support (English, French, Spanish, Italian), extensibility through custom locale definitions, and seamless integration with Phoenix applications, offering a flexible and modular approach to fake data generation.
[unmaintained] FakerElixir generates fake data for you.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Covers a wide range of fake data including addresses, names, internet, commerce, and finance, as evidenced by the detailed cheatsheet with multiple modules like FakerElixir.Address and FakerElixir.Commerce.
Supports built-in locales (en, fr, es, it) and allows custom locale definitions through user-defined modules, enabling tailored data for specific regions or needs.
Designed for seamless use with Phoenix, with clear examples in controllers and aliasing recommendations, making it straightforward for web developers to adopt.
Offers functions like pick, cycle, and unique! for controlled random generation, useful for creating test factories and ensuring data uniqueness.
The README explicitly warns that the project is unmaintained, directing users to alternatives like Faker, which poses risks for bugs, security, and compatibility.
Only provides four locales out-of-the-box, which may be insufficient for applications targeting global audiences without significant custom work.
Requires manual addition to the applications list in mix.exs, as noted in the installation notes, which can lead to errors if overlooked, especially for newcomers.