awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
fakerphp avatar

fakerphp/fakerFork

0
View on GitHub↗
3,976 stars·423 forks·PHP·8 viewsfakerphp.github.io↗

Faker

Faker is a PHP fake data generator and testing utility used to produce realistic randomized values for populating databases and test applications. It serves as a localization library that generates data tailored to specific languages and regional formats, providing a framework for extending data generation through custom classes and domain-specific formatters.

The library ensures repeatability in testing environments through deterministic random seeding. It includes mechanisms to control output quality, such as enforcing value uniqueness and simulating missing data by occasionally producing null values.

The system supports localized data generation for names, addresses, and phone numbers with automatic fallback support. It also allows for the creation of custom data providers to handle specialized business objects.

Features

  • Realistic Data Generators - Produces realistic randomized data such as names, addresses, and emails for testing and prototyping.
  • Custom Data Type Providers - Allows the creation of custom data providers to define specialized formats for domain-specific data types.
  • Database Seeding Tools - Automates the population of databases with realistic synthetic data for development and testing.
  • Localization Support - Supports data generation for specific locales with automatic fallback to default languages.
  • Random Number Generator Seeding - Supports initializing random number generators with specific seeds for deterministic data reproduction.
  • Seedable Generators - Provides seedable random number generators to ensure deterministic and reproducible data sequences.
  • Structured Random Data Generation - Uses a provider-based architecture to generate complex, structured random data through dedicated classes.
  • PHP Localization Utilities - Generates fake data tailored to specific languages and regional formats with automatic fallback support.
  • Localized Test Data Generation - Produces fake names, addresses, and phone numbers that match specific cultural and linguistic regional formats.
  • Mock Data Generators - Provides a framework for building specialized mock data generators for domain-specific business objects.
  • Uniqueness Constraints - Ensures generated values remain unique across a dataset to prevent duplicates in test data.
  • Mock Null Value Handlings - Simulates missing data by allowing generators to occasionally produce null values for edge-case testing.
  • Locale Fallback Resolution - Provides a mechanism to resolve missing localized data by traversing a priority list of fallback locales.
  • Automated Software Testing - Generates randomized input data to verify application correctness across various formats and edge cases.
  • Value Constraints - Allows applying specific constraints, such as uniqueness or optional nulls, to generated random values.
  • Testing Utilities - Provides helper utilities for creating consistent and repeatable datasets via seeded randomness for software testing.
  • Test Data Seeding - Uses fixed random seeds to populate databases consistently for repeatable debugging and testing.
  • Testing and Quality - Generates fake data for testing.

Star history

Star history chart for fakerphp/fakerStar history chart for fakerphp/faker

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does fakerphp/faker do?

Faker is a PHP fake data generator and testing utility used to produce realistic randomized values for populating databases and test applications. It serves as a localization library that generates data tailored to specific languages and regional formats, providing a framework for extending data generation through custom classes and domain-specific formatters.

What are the main features of fakerphp/faker?

The main features of fakerphp/faker are: Realistic Data Generators, Custom Data Type Providers, Database Seeding Tools, Localization Support, Random Number Generator Seeding, Seedable Generators, Structured Random Data Generation, PHP Localization Utilities.

Which projects share features with fakerphp/faker?

Projects with overlapping indexed features include: fzaninotto/faker — Faker is a PHP library for creating realistic synthetic data used for testing, prototyping, and populating database… brianvoe/gofakeit — gofakeit is a Go library for creating realistic synthetic datasets and populating Go structs with mock information. It… chancejs/chancejs — Chance is a JavaScript library for generating random data, designed to produce realistic test data for automated tests… dius/java-faker — Java-faker is a synthetic data generator and mock data library for Java applications. It provides utilities to create… lk-geimfari/mimesis — Mimesis is a Python synthetic data generator used to create realistic fake datasets and mock data for software testing… w3tecch/typeorm-seeding — TypeORM Seeding is a development utility designed to automate database population and schema management within…

Projects sharing features with Faker

These projects share indexed features with Faker. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • fzaninotto/fakerfzaninotto avatar

    fzaninotto/Faker

    26,674View on GitHub↗

    Faker is a PHP library for creating realistic synthetic data used for testing, prototyping, and populating database entities. It serves as a test data generator and localized mocking tool capable of producing synthetic names, addresses, and identifiers specific to various countries and languages. The library provides mechanisms to ensure data consistency and quality, including deterministic seeding to produce identical data sequences across executions and stateful uniqueness tracking to prevent duplicate values. It also supports probability-weighted optionality to simulate missing data and cu

    PHP
    View on GitHub↗26,674
  • chancejs/chancejschancejs avatar

    chancejs/chancejs

    6,541View on GitHub↗

    Chance is a JavaScript library for generating random data, designed to produce realistic test data for automated tests and prototypes. It uses a Mersenne Twister pseudo-random number generator that accepts an optional seed value, enabling reproducible sequences of random values across multiple runs. The library provides a wide range of generators for common data types, including random integers, floats, booleans, characters, strings, and dates, all with configurable ranges and character pools. It can generate realistic geographic data like addresses, as well as financial data such as credit c

    JavaScript
    View on GitHub↗6,541
  • brianvoe/gofakeitbrianvoe avatar

    brianvoe/gofakeit

    5,306View on GitHub↗

    gofakeit is a Go library for creating realistic synthetic datasets and populating Go structs with mock information. It functions as a deterministic data generator, allowing for seedable random number generation to ensure reproducible datasets for software testing. The project distinguishes itself by providing a mock data API server that exposes generation functions as HTTP endpoints and a synthetic dataset exporter for producing files in CSV, JSON, and XML formats. It also includes a command-line interface for generating mock data directly from the terminal. The library covers a wide array o

    Godatafakegenerator
    View on GitHub↗5,306
  • dius/java-fakerDiUS avatar

    DiUS/java-faker

    4,899View on GitHub↗

    Java-faker is a synthetic data generator and mock data library for Java applications. It provides utilities to create randomized, believable fake records such as names and addresses to populate test environments and verify application logic without using real user information. The library specializes in localized data generation, producing synthetic content tailored to specific languages and regional formats. This allows for the verification of application accuracy across different global locales. The tool covers broad capabilities for automated testing mocking, including the generation of m

    Java
    View on GitHub↗4,899
  • Compare all 30 related projects→