PHPackages                             labbati/randomized-paths - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. labbati/randomized-paths

ActiveLibrary[Testing &amp; Quality](/categories/testing)

labbati/randomized-paths
========================

Random paths generator from DataDog/dd-trace-php/tests/randomized

v8.1.3.0(4y ago)06BSD-3-ClausePHP

Since Nov 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/labbati/randomized-paths)[ Packagist](https://packagist.org/packages/labbati/randomized-paths)[ RSS](/packages/labbati-randomized-paths/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependencies (2)Versions (29)Used By (0)

Composer package to make available to any project randomized paths generated by [DataDog/dd-trace-php/tests/randomized/app](https://github.com/DataDog/dd-trace-php/tree/master/tests/randomized/app/) generator.

This is absolutely not intended for production. This is only usable for testing environments.

Usage
-----

[](#usage)

Depending on the version, add the following to your `composer.json`.

```
{
    ...
    "require-dev": {
        "labbati/randomized-paths": "..*"
    }
    ...
}

```

You need some companion services to run this tool. You can cherry-pick them from the list below.

```
// docker-compose.yml

....

  redis:
    image: redis:latest

  httpbin:
    image: kennethreitz/httpbin

  memcached:
    image: "memcached:1.5-alpine"

  elasticsearch:
    image: "elasticsearch:6.8.13"
    environment:
      - discovery.type=single-node

  mysql:
    image: mysql:5.7
    environment:
      - MYSQL_ROOT_PASSWORD=test
      - MYSQL_PASSWORD=test
      - MYSQL_USER=test
      - MYSQL_DATABASE=test

....

```

Use them (adjust host names)

```

use RandomizedTests\RandomExecutionPath;
use RandomizedTests\RandomExecutionPathConfiguration;
use RandomizedTests\SnippetsConfiguration;

$snippetsConfiguration = (new SnippetsConfiguration())
    ->withHttpBinHost('httpbin')
    ->withElasticSearchHost('elasticsearch')
    ->withMysqlHost('mysql')
    ->withMysqlUser('test')
    ->withMysqlPassword('test')
    ->withMysqlDb('test')
    ->withRedisHost('redis')
    ->withMemcachedHost('memcached');
$randomizerConfiguration = new RandomExecutionPathConfiguration(
    $snippetsConfiguration,
    isset($queries['seed']) ? intval($queries['seed']) : null,
    true, // true for web, false for CLI
    isset($queries['execution_path'])
);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~5 days

Recently: every ~0 days

Total

28

Last Release

1509d ago

Major Versions

v5.4.1.0 → v8.0.2.02022-03-29

v5.4.2.0 → v8.1.3.02022-03-29

### Community

Maintainers

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

---

Top Contributors

[![labbati](https://avatars.githubusercontent.com/u/2952352?v=4)](https://github.com/labbati "labbati (31 commits)")

---

Tags

phptestingrandomized

### Embed Badge

![Health badge](/badges/labbati-randomized-paths/health.svg)

```
[![Health](https://phpackages.com/badges/labbati-randomized-paths/health.svg)](https://phpackages.com/packages/labbati-randomized-paths)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[blastcloud/guzzler

Supercharge your app or SDK with a testing library specifically for Guzzle.

272419.3k35](/packages/blastcloud-guzzler)[marvinrabe/laravel-graphql-test

Provides you with a simple GraphQL testing trait.

58329.7k](/packages/marvinrabe-laravel-graphql-test)[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)[doppiogancio/mocked-client

A simple way to mock a client

2174.9k3](/packages/doppiogancio-mocked-client)[robiningelbrecht/phpunit-coverage-tools

PHPUnit coverage tools

1783.0k34](/packages/robiningelbrecht-phpunit-coverage-tools)

PHPackages © 2026

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