PHPackages                             holyshared/peridot-file-fixture-plugin - 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. holyshared/peridot-file-fixture-plugin

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

holyshared/peridot-file-fixture-plugin
======================================

File fixture for peridot

1.0.3(10y ago)1776[1 issues](https://github.com/holyshared/peridot-file-fixture-plugin/issues)4MITPHPPHP &gt;=5.5.0

Since Apr 16Pushed 10y agoCompare

[ Source](https://github.com/holyshared/peridot-file-fixture-plugin)[ Packagist](https://packagist.org/packages/holyshared/peridot-file-fixture-plugin)[ RSS](/packages/holyshared-peridot-file-fixture-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (10)Used By (4)

peridot-file-fixture-plugin
===========================

[](#peridot-file-fixture-plugin)

[![Build Status](https://camo.githubusercontent.com/365ccd9629ce3052082cc6284f30de0e174774f3fecce7f5bbf7c1c1683d5137/68747470733a2f2f7472617669732d63692e6f72672f686f6c797368617265642f70657269646f742d66696c652d666978747572652d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/holyshared/peridot-file-fixture-plugin)[![HHVM Status](https://camo.githubusercontent.com/cbcbb5df0ee9b23c5ea1288009f4e372263d7740ead5918a059107ccc8e7715f/687474703a2f2f6868766d2e683463632e64652f62616467652f686f6c797368617265642f70657269646f742d66696c652d666978747572652d706c7567696e2e737667)](http://hhvm.h4cc.de/package/holyshared/peridot-file-fixture-plugin)[![Coverage Status](https://camo.githubusercontent.com/86c6352845e0828b8eab17323ca2a85b2ed04633cea25009fb2ebeb2ff1d8c20/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f686f6c797368617265642f70657269646f742d66696c652d666978747572652d706c7567696e2f62616467652e737667)](https://coveralls.io/r/holyshared/peridot-file-fixture-plugin)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/257407370215938f1b88edc4dd1cbb2e372aa2c5c76d8eb553993514a9a4dae7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f686f6c797368617265642f70657269646f742d66696c652d666978747572652d706c7567696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/holyshared/peridot-file-fixture-plugin/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/f742811da389e045c2feb4da03acdec4cbf75ab77abd3011dc301579baee05a7/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535326637306238313065373134663965353030306430632f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/552f70b810e714f9e5000d0c)[![Stories in Ready](https://camo.githubusercontent.com/c28639e516177b2b20af8071e07b7451761eed7b929d6e129238122e07ac2f76/68747470733a2f2f62616467652e776166666c652e696f2f686f6c797368617265642f70657269646f742d66696c652d666978747572652d706c7567696e2e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/holyshared/peridot-file-fixture-plugin)

Basic usage
-----------

[](#basic-usage)

Register the plugin to be able to use in peridot.
Please the configuration file see the [file-fixture](https://github.com/holyshared/file-fixture).

```
use Evenement\EventEmitterInterface;
use holyshared\peridot\FileFixturePlugin;

return function(EventEmitterInterface $emitter)
{
    $plugin = new FileFixturePlugin(__DIR__ . '/fixtures.toml');
    $plugin->registerTo($emmiter);
};
```

By calling the **loadFixture** method in spec, you can load the fixture.

```
describe('Example', function() {
    describe('output', function() {
        it('return message for user', function() {
            $content = $this->loadFixture('text:console', [ 'name' => 'Jhon' ]);
            expect('My name is Jhon')->toEqual($content);
        });
    });
});
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~29 days

Recently: every ~55 days

Total

9

Last Release

3819d ago

Major Versions

0.3.0 → 1.0.02015-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/70c299d6d6015ee714954aa05e4d0e9c7b1d31318a5d7db5e9bb4e1f70f78afc?d=identicon)[holyshared](/maintainers/holyshared)

---

Top Contributors

[![holyshared](https://avatars.githubusercontent.com/u/167190?v=4)](https://github.com/holyshared "holyshared (38 commits)")[![waffle-iron](https://avatars.githubusercontent.com/u/6912981?v=4)](https://github.com/waffle-iron "waffle-iron (1 commits)")

### Embed Badge

![Health badge](/badges/holyshared-peridot-file-fixture-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/holyshared-peridot-file-fixture-plugin/health.svg)](https://phpackages.com/packages/holyshared-peridot-file-fixture-plugin)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[instaclick/php-webdriver

PHP WebDriver for Selenium 2

43661.8M22](/packages/instaclick-php-webdriver)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69617.9M510](/packages/spatie-phpunit-snapshot-assertions)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3287.8M898](/packages/szepeviktor-phpstan-wordpress)[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14327.7M294](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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