PHPackages                             matusstafura/faker-commerce - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. matusstafura/faker-commerce

ActiveLib[Utility &amp; Helpers](/categories/utility)

matusstafura/faker-commerce
===========================

A PHP lib to generate dummy data for ecommerce

v0.1.0(3y ago)11661MITPHP

Since Oct 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/matusstafura/faker-commerce)[ Packagist](https://packagist.org/packages/matusstafura/faker-commerce)[ RSS](/packages/matusstafura-faker-commerce/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

PHP Faker eCommerce
===================

[](#php-faker-ecommerce)

Generates dummy data related mostly for ecommerce use.

Install the package
-------------------

[](#install-the-package)

```
composer require matusstafura/faker-commerce
```

Usage
-----

[](#usage)

```
use FakerCommerce\Faker\FakerFactory;

// Use a factory to initialize
$faker = FakerFactory::create();

$faker->availability();
// "out of stock"

$faker->breadcrumbs(4, ">");
// "Radio>Instruments>Materials & Supplies>Accessories"

$faker->category();
// "Action Figures"

$faker->color();
// "Coral"

$faker->condition();
// "Very Good"

$faker->name();
// leather shorts

$faker->payment();
// "cash on delivery"

$faker->price();
// "557.00"

$faker->review();
// "Expensive for the quality."

$f->getAllMethods();
// lists all available methods
```

Tests
-----

[](#tests)

Run the tests with Pest PHP

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

Contribution
------------

[](#contribution)

Contributions are welcome and will be fully credited. Please, add tests if required.

Support
-------

[](#support)

You can leave a star.

Security
--------

[](#security)

If you discover any security-related issues, please email us instead of using the issue tracker.

TODO
----

[](#todo)

Please see TODO.md file.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f56918987521c7c4b77e80e82275ef0ee2be4567bf65f207237f788524938f88?d=identicon)[matusstafura](/maintainers/matusstafura)

---

Top Contributors

[![matusstafura](https://avatars.githubusercontent.com/u/11353888?v=4)](https://github.com/matusstafura "matusstafura (41 commits)")

---

Tags

fakerphpfakermatusstafura

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matusstafura-faker-commerce/health.svg)

```
[![Health](https://phpackages.com/badges/matusstafura-faker-commerce/health.svg)](https://phpackages.com/packages/matusstafura-faker-commerce)
```

###  Alternatives

[fakerphp/faker

Faker is a PHP library that generates fake data for you.

3.9k358.5M3.5k](/packages/fakerphp-faker)[mbezhanov/faker-provider-collection

A collection of custom providers for the Faker library

2138.6M24](/packages/mbezhanov-faker-provider-collection)[pragmarx/random

Create random chars, numbers, strings

714.2M5](/packages/pragmarx-random)[pelmered/fake-car

Fake-Car is a Faker provider that generates fake car data for you.

1271.2M2](/packages/pelmered-fake-car)[bheller/images-generator

Generator of placeholder images for Faker

573.1M3](/packages/bheller-images-generator)[mmo/faker-images

Different images provider for Faker

59370.3k6](/packages/mmo-faker-images)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
