PHP Package: fakerphp/faker

Faker is a PHP library for generating fake data for testing purposes with ease and flexibility.

Current Version: 1.24.1
Last Updated: 2024-11-21
PHP Requirement: ^7.4 || ^8.0
Dependencies:
phpunit/phpunit
symfony/yaml
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Faker is a popular PHP library designed to generate fake data such as names, addresses, phone numbers, and more for testing and development needs. With a simple API, it allows developers to create realistic-looking data effortlessly, saving time during development and testing phases.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.24.1

Download Download v1.24.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/fakerphp/faker/1.24.1/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.4.1/loader.php';
require_once 'libs/symfony/yaml/7.3.3/loader.php';

use Faker\Generator;

$obj = new Generator();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.