faker-ruby/faker

A library for generating fake data such as names, addresses, and phone numbers.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 26 minutes ago
Added to GitGenius on September 5th, 2026
Created on December 24th, 2008
Open Issues & Pull Requests: 42 (+0)
GitHub issues: Enabled
Number of forks: 3,216
Total Stargazers: 11,934 (+0)
Total Subscribers: 128 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Faker is a Ruby library for generating fake data such as names, addresses, phone numbers, and other realistic-looking information for testing, demos, and development database population.

The library solves the problem of needing plausible test data without using real user information. It provides generators across multiple categories including internet data like email addresses and domains, dates and times, person information such as names and job titles, locations including addresses and postal codes, and finance data like account details and cryptocurrency addresses. The tool supports over forty locales, allowing developers to generate region-specific names, addresses, and phone numbers that match local formats and conventions.

Faker suits any Ruby project that needs test fixtures or sample data during development. It is particularly valuable when you want to avoid hardcoding test data or when you need large volumes of varied but realistic-looking information. The library offers features for ensuring uniqueness when required, deterministic output through seeding for reproducible tests, and the ability to clear unique value records between test runs. A key consideration is that generated data may occasionally match real information, so care should be taken when using it in production-like scenarios.

The project maintains active development with regular updates and a documented changelog. The tool includes comprehensive documentation covering all available generators and usage patterns. The library provides explicit handling for edge cases such as retry limits when requesting more unique values than a generator can produce, and integration considerations for testing frameworks like Minitest.