PHPackages                             freshp/phpunit-webtestcase-fixture-helper - 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. freshp/phpunit-webtestcase-fixture-helper

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

freshp/phpunit-webtestcase-fixture-helper
=========================================

Helps to manage fixtures for test-environment in webtestcases.

1.0.0(8y ago)055MITPHPPHP &gt;=7.2

Since Mar 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/freshp/phpunit-webtestcase-fixture-helper)[ Packagist](https://packagist.org/packages/freshp/phpunit-webtestcase-fixture-helper)[ RSS](/packages/freshp-phpunit-webtestcase-fixture-helper/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (4)Used By (0)

[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/c8c2568a237b37f42ed510ae6e176a6154a89d25583dec4601efb22eaa513697/68747470733a2f2f706f7365722e707567782e6f72672f6672657368702f706870756e69742d77656274657374636173652d666978747572652d68656c7065722f762f737461626c65)](https://packagist.org/packages/freshp/phpunit-webtestcase-fixture-helper)[![Total Downloads](https://camo.githubusercontent.com/8e532ca8d40cc2ce21e7573400294050699cc787b8835ace7c81e11099866e17/68747470733a2f2f706f7365722e707567782e6f72672f6672657368702f706870756e69742d77656274657374636173652d666978747572652d68656c7065722f646f776e6c6f616473)](https://packagist.org/packages/freshp/phpunit-webtestcase-fixture-helper)

phpunit webtestcase doctrine fixture helper
===========================================

[](#phpunit-webtestcase-doctrine-fixture-helper)

This package can easily setup database for tests for `dev` or `test`-environments. Uses doctrine `FixtureInterface` for edge to edge tests.

tasks:

- drop the current database
- create a new blank database for `dev` or `test` environment
- migrate by forcing the doctrine schema update
- load all fixtures by given `FixtureInterface`

### usage

[](#usage)

1. create a FixtureInterface like the example class `example/Fixtures/DataFixtures/ORM/LoadFixtures.php`
2. write a test-class like `example/Unit/Route/ExampleRouteTest.php` a extend from the given ApiTestCase
3. use static access to create the client for example in the `setUpBeforeClass` or the `setUp` method ```
    self::createClientWithDatabaseAndFixtures(new LoadFixtures());

    ```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~1 days

Total

2

Last Release

3028d ago

Major Versions

0.0.1 → 1.0.02018-03-16

PHP version history (2 changes)0.0.1PHP &gt;=7.1

1.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4762257?v=4)[Steve](/maintainers/freshp)[@freshp](https://github.com/freshp)

### Embed Badge

![Health badge](/badges/freshp-phpunit-webtestcase-fixture-helper/health.svg)

```
[![Health](https://phpackages.com/badges/freshp-phpunit-webtestcase-fixture-helper/health.svg)](https://phpackages.com/packages/freshp-phpunit-webtestcase-fixture-helper)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[liip/functional-test-bundle

This bundles provides additional functional test-cases for Symfony applications

64910.9M89](/packages/liip-functional-test-bundle)[zenstruck/browser

A fluent interface for your Symfony functional tests.

2262.5M38](/packages/zenstruck-browser)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29734.8k](/packages/sulu-skeleton)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.0M321](/packages/drupal-core-dev)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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