PHPackages                             macpaw/behat-orm-context - 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. [Database &amp; ORM](/categories/database)
4. /
5. macpaw/behat-orm-context

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

macpaw/behat-orm-context
========================

Behat Context for testing Symfony ORM

v1.2.0(3mo ago)21.2k↓50%[2 PRs](https://github.com/MacPaw/behat-orm-context/pulls)MITPHPPHP ^7.4 || ^8.0CI passing

Since May 16Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/MacPaw/behat-orm-context)[ Packagist](https://packagist.org/packages/macpaw/behat-orm-context)[ RSS](/packages/macpaw-behat-orm-context/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (3)Dependencies (10)Versions (10)Used By (0)

Behat ORM Context Bundle
========================

[](#behat-orm-context-bundle)

VersionBuild StatusCode Coverage`main`[![CI](https://github.com/macpaw/behat-orm-context/workflows/CI/badge.svg?branch=main)](https://github.com/macpaw/behat-orm-context/actions?query=workflow%3ACI+branch%main)[![Coverage Status](https://camo.githubusercontent.com/b3d0e0b3156c5c04fcb184bd01521f2ab2f1e8d2350f3574c95d89bd50bbcbc2/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d61637061772f62656861742d6f726d2d636f6e746578742f6d61696e3f6c6f676f3d636f6465636f76)](https://codecov.io/gh/macpaw/behat-orm-context/branch/main)`develop`[![CI](https://github.com/macpaw/behat-orm-context/workflows/CI/badge.svg?branch=develop)](https://github.com/macpaw/behat-orm-context/actions?query=workflow%3ACI+branch%3Adevelop)[![Coverage Status](https://camo.githubusercontent.com/85b68c2b74d7126b782c949c2bd00c982888381213c10997e4d86c440464dbc0/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d61637061772f62656861742d6f726d2d636f6e746578742f646576656c6f703f6c6f676f3d636f6465636f76)](https://codecov.io/gh/macpaw/behat-orm-context/branch/develop)Behat context for testing Doctrine ORM integration.

Description
-----------

[](#description)

This bundle provides a Behat context for testing your application's interaction with a database using Doctrine ORM.

Installation
------------

[](#installation)

See the [installation instructions](docs/install.md).

Features
--------

[](#features)

The bundle provides several Behat step definitions for ORM testing:

- [See X entities in repository](docs/ORMContext/see-count-in-repository.md) - Check if the count of entities in the repository matches expected
- [See entity with ID](docs/ORMContext/see-entity-in-repository-with-id.md) - Check if an entity with a specific ID exists
- [See entity with properties](docs/ORMContext/see-entity-in-repository-with-properties.md) - Check if an entity with specific properties exists

License
-------

[](#license)

This bundle is released under the MIT license. See the included [LICENSE](LICENSE) file for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance86

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

3

Last Release

103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1935412?v=4)[MacPaw Inc.](/maintainers/macpaw)[@MacPaw](https://github.com/MacPaw)

![](https://www.gravatar.com/avatar/415a6c5f079859104abefc3592ee26337cfdb8466a98d1fadcd010072414523e?d=identicon)[Yozhef](/maintainers/Yozhef)

![](https://www.gravatar.com/avatar/71f42607cfa79773ece78e62785b2dc19024d29aa0ebecd1adb9b7a00efc9d7f?d=identicon)[ganzyukv](/maintainers/ganzyukv)

---

Top Contributors

[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (17 commits)")[![ganzyukv](https://avatars.githubusercontent.com/u/12824765?v=4)](https://github.com/ganzyukv "ganzyukv (9 commits)")[![zakhar-huzenko](https://avatars.githubusercontent.com/u/26282904?v=4)](https://github.com/zakhar-huzenko "zakhar-huzenko (8 commits)")[![crossplanegithub[bot]](https://avatars.githubusercontent.com/u/1935412?v=4)](https://github.com/crossplanegithub[bot] "crossplanegithub[bot] (1 commits)")[![cursoragent](https://avatars.githubusercontent.com/u/199161495?v=4)](https://github.com/cursoragent "cursoragent (1 commits)")

---

Tags

backendmacpawsymfonysymfonyBDDormContextBehatMacPaw

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/macpaw-behat-orm-context/health.svg)

```
[![Health](https://phpackages.com/badges/macpaw-behat-orm-context/health.svg)](https://phpackages.com/packages/macpaw-behat-orm-context)
```

###  Alternatives

[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[kreait/firebase-bundle

Symfony Bundle for the Firebase Admin SDK

1534.7M2](/packages/kreait-firebase-bundle)[macpaw/behat-messenger-context

Behat Context for testing Symfony Messenger component

16232.9k](/packages/macpaw-behat-messenger-context)

PHPackages © 2026

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