PHP Classes

PHP Faker Provider: Provide fake data to test shopping pages

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-09-03 (11 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 25 All time: 10,632 This week: 174Up
Version License PHP version Categories
fakerprovider 1.0MIT/X Consortium ...5PHP 5, E-Commerce, Testing
Description Author
This package is specific mainly for applications used in Russian Federation Russian Federation .

This package can provide fake data to test shopping pages.

It provides a class that can return fake values for products that can be sold in shopping sites.

Currently it can return fake data for product unit, product model, product size in 2 or 3 dimensions, title, category, material, attribute and trademark.

Picture of Insolita
  Performance   Level  
Name: Insolita <contact>
Classes: 9 packages by
Country: Russian Federation Russian Federation
Age: 36
All time rank: 3620101 in Russian Federation Russian Federation
Week rank: 352 Up17 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 5x


Faker Shop-data provider (Russian only)

????????? ?????????, ??????? ???????, ??????????, ????????, ??????? ? ????????? ???????

  composer require "insolita\fakerprovider":"~1.0"

 $faker = \Faker\Factory::create();


// in some cases, if you have faker instance as closure argument- add provider like

$factory->define(\App\Modules\Shop\Product::class, function (Faker\Generator $faker) {
    $faker->addProvider(new \insolita\faker\ShopProvider($faker));

  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file Doc. Documentation
Plain text file ShopProvider.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,632
This week:174Up
For more information send a message to info at phpclasses dot org.