Download the PHP package kodegrenade/naija-faker-laravel without Composer

On this page you can find all versions of the php package kodegrenade/naija-faker-laravel. 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 naija-faker-laravel

Laravel NaijaFaker

Introduction ๐Ÿ‘‹

A comprehensive package that generates fake, culturally authentic Nigerian data โ€” names, addresses, phone numbers, bank accounts, universities, companies, and much more. Supports three major ethnic groups: Yoruba, Igbo, and Hausa.

NB: Nigeria as a country has so many languages. Yoruba, Igbo and Hausa are the only languages supported at the moment.

Installation

Install via composer

Add service provider to the config/app.php file

Add alias to the config/app.php file

Usage ๐Ÿงจ

NOTE All methods return associative arrays or strings.


Seeded / Deterministic Mode

Set a seed for reproducible output (useful for testing):

Configuration

Set default language, gender, or network:


Person

Generate fake person data.

Sample

People

Generate multiple fake people.

Name

Generate a fake name.

Title

Generate a fake Nigerian title.

Email Address

Generate a fake email address.

Address

Generate a fake Nigerian address.

Phone Number

Generate a fake Nigerian phone number.

NOTE: Supported networks are mtn, glo, 9mobile & airtel

States & LGAs

Identity & Financial

BVN (Bank Verification Number)

NIN (National Identification Number)

Bank Account


Geographic Consistency

Generate persons where name ethnicity, state, and LGA all match geographically.

Consistent Person

Consistent People


Records

License Plate

Company

University

Education Record

Work Record

Vehicle Record


Personal Data

Date of Birth

Marital Status

Blood Group & Genotype

Salary

Next of Kin


Detailed Person

Generate a complete identity with person, personal data, education, work, and vehicle all in one call:


Export

Export generated data as JSON or CSV:

CSV output uses dot notation for nested fields (e.g., education.university, salary.amount).


Custom Providers

Register your own data generators:

NOTE: Custom providers cannot override built-in methods.


Quick Usage

You can give the package a quick spin by running the following artisan command:

Tests

Disclaimer :warning:

See DISCLAIMER for details.

Contribution

Please feel free to fork the package and contribute by submitting a pull request to enhance the functionalities.

License

Naija Faker is release under the MIT License. See LICENSE for details.

Feedback

If you have any feedback, please reach out to me at [email protected]

Author


All versions of naija-faker-laravel with dependencies

PHP Build Version
Package Version
No informations.
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 kodegrenade/naija-faker-laravel contains the following files

Loading the files please wait ...