Download the PHP package cupidontech/multi-faker without Composer

On this page you can find all versions of the php package cupidontech/multi-faker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package multi-faker

multi-faker

The missing Faker locale for Africa.

Generate realistic fake data for African and international applications.

Tests Latest Version on Packagist Total Downloads PHP Version


Table of Contents


The Problem

FakerPHP supports many locales but provides no realistic datasets for most African countries.

Country FakerPHP multi-faker
Cameroon ❌ ✅
Senegal ❌ ✅
Ivory Coast ❌ ✅
Nigeria Limited ✅
South Africa Limited ✅
France ✅ ✅
USA ✅ ✅

As a result, developers often seed African applications with unrealistic names, cities, and phone numbers. multi-faker solves this with country-specific generators built from real local datasets.


FakerPHP vs multi-faker

Feature FakerPHP multi-faker
Local names ❌ (for Africa) ✅
Local phone formats ❌ ✅
Local regions ❌ ✅
Local cities ❌ ✅
GPS coordinates ❌ ✅
Switch country at runtime ❌ ✅
Laravel integration ✅ ✅

Supported Countries

Country Key
🇨🇲 Cameroon Cameroon
🇨🇮 Ivory Coast IvoryCoast
🇳🇬 Nigeria Nigeria
🇸🇳 Senegal Senegal
🇿🇦 South Africa SouthAfrica
🇨🇦 Canada Canada
🇺🇸 United States UnitedStates
🇫🇷 France France
🇩🇪 Germany Germany

Features

Feature Supported
First & last names ✅
Full names & usernames ✅
Email addresses ✅
Phone numbers (local format) ✅
Addresses ✅
Regions & cities ✅
GPS coordinates ✅
Company names ✅
Products & food items ✅
Dates ✅
Passwords & credit cards ✅
Random text ✅
Mobile money / payments ✅

Requirements


Installation

Laravel auto-discovers the service provider. For older versions of Laravel, add it manually in config/app.php:


Configuration

Set the default country in your .env file:

Accepted values: Cameroon, IvoryCoast, Nigeria, Senegal, SouthAfrica, Canada, UnitedStates, France, Germany.


Usage

Standalone

Laravel (dependency injection)

Laravel Seeder

Switching country at runtime


Example Output

🇨🇲 Cameroon

🇸🇳 Senegal

🇳🇬 Nigeria


Available Methods

All generators implement the same interface, regardless of country.

The mobile money methods are contextual — they use the dominant payment platform per country:

Country Platform
🇨🇲 Cameroon Orange Money CM
🇨🇮 Ivory Coast Orange Money CI
🇸🇳 Senegal Orange Money SN
🇳🇬 Nigeria MTN MoMo
🇿🇦 South Africa MTN MoMo SA
🇨🇦 Canada Interac e-Transfer
🇺🇸 United States Venmo / CashApp
🇫🇷 France Orange Bank
🇩🇪 Germany PayPal / Klarna

Roadmap


Contributions

We welcome contributions. Please follow the git flow below:

  1. Fork the repository and clone it locally.
  2. Create a feature branch from dev: git checkout -b feature/my-feature dev
  3. Write your code and tests, then commit.
  4. Push your branch and open a pull request targeting dev.
  5. Once reviewed and merged to dev, a maintainer will cut a release to main.

To add a new country, see the CLAUDE.md guide.


License

Distributed under the MIT license.


All versions of multi-faker with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
fakerphp/faker Version ^1.23
illuminate/support Version ^9.0 || ^10.0 || ^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cupidontech/multi-faker contains the following files

Loading the files please wait ...