Download the PHP package dominicwatts/faker without Composer

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

Faker extension

php-cs-fixer

php-cs-fixer

M2 Coding Standard

M2 PHPStan

Magento 2 extension to generate fake data.

This extension uses fzaninotto/faker

Docs for this package can be found here: https://packagist.org/packages/fzaninotto/faker

Install instructions

composer require dominicwatts/faker

php bin/magento setup:upgrade

Note: version 1.2.0 is php 7.4 compatible, use ^1.1 for < php 7.4

Usage instructions

Locale is defined inside Xigen\Faker\Helper\Data

Content is generated via the following console commands

Generate Customer

xigen:faker:customer [-w|--website WEBSITE] [-l|--limit [LIMIT]] [--] <generate>

php bin/magento xigen:faker:customer generate

php bin/magento xigen:faker:customer -w 1 generate

php bin/magento xigen:faker:customer -w 1 -l 10 generate

Generate Product

todo: link configurable/group to simples

xigen:faker:product [-w|--website WEBSITE] [-l|--limit [LIMIT]] [-t|--type [TYPE]] [--] <generate> <applyImage>

php bin/magento xigen:faker:product generate

php bin/magento xigen:faker:product -l 10 generate

php bin/magento xigen:faker:product -l 10 generate applyImage

php bin/magento xigen:faker:product -w 1 generate

php bin/magento xigen:faker:product -w 1 -l 10 generate

php bin/magento xigen:faker:product -w 1 -l 10 -t simple generate

Generate Category

xigen:faker:category [-s|--store STORE] [-l|--limit [LIMIT]] [--] <generate>

php bin/magento xigen:faker:category generate

php bin/magento xigen:faker:category -s 0 generate

php bin/magento xigen:faker:category -s 0 -l 10 generate

Generate Order

xigen:faker:order [-s|--store STORE] [-l|--limit [LIMIT]] [--] <generate>

php bin/magento xigen:faker:order generate

php bin/magento xigen:faker:order -s 1 generate

php bin/magento xigen:faker:order -s 1 -l 1 generate

Generate Review

xigen:faker:review [-s|--store STORE] [-l|--limit [LIMIT]] [--] <generate>

php bin/magento xigen:faker:review generate

php bin/magento xigen:faker:review -s 1 generate

php bin/magento xigen:faker:review -s 1 -l 10 generate


All versions of faker with dependencies

PHP Build Version
Package Version
Requires dominicwatts/fakerfork Version *
magento/framework Version *
php Version >=7.4.0
symfony/console Version *
magento/module-catalog Version *
magento/module-quote Version *
magento/module-shipping Version *
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 dominicwatts/faker contains the following files

Loading the files please wait ....