PHPackages                             dotkernel/dot-doctrine-metadata - 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. dotkernel/dot-doctrine-metadata

Abandoned → [https://github.com/mezzio/mezzio-hal](/?search=https%3A%2F%2Fgithub.com%2Fmezzio%2Fmezzio-hal)Library[Database &amp; ORM](/categories/database)

dotkernel/dot-doctrine-metadata
===============================

DotKernel wrapper that sits on top of mezzio-hal package and resolves the doctrine proxy issues.

3.3.0(2y ago)42.2k1[2 issues](https://github.com/dotkernel/dot-doctrine-metadata/issues)[2 PRs](https://github.com/dotkernel/dot-doctrine-metadata/pulls)MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0CI failing

Since Jan 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/dotkernel/dot-doctrine-metadata)[ Packagist](https://packagist.org/packages/dotkernel/dot-doctrine-metadata)[ Docs](https://github.com/dotkernel/dot-doctrine-metadata)[ RSS](/packages/dotkernel-dot-doctrine-metadata/feed)WikiDiscussions 3.0 Synced 1w ago

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

dot-doctrine-metadata
=====================

[](#dot-doctrine-metadata)

Important

dot-doctrine-metadata is a wrapper on top of [mezzio/mezzio-hal](https://github.com/mezzio/mezzio-hal)

[![OSS Lifecycle](https://camo.githubusercontent.com/acce85f7d7859073768956eb957b1a77619d350dc9091c1e66fda88f96d84ae6/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f6d657a7a696f2f6d657a7a696f2d68616c)](https://camo.githubusercontent.com/acce85f7d7859073768956eb957b1a77619d350dc9091c1e66fda88f96d84ae6/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f6d657a7a696f2f6d657a7a696f2d68616c)

Caution

Security-Only Maintenance Mode
------------------------------

[](#security-only-maintenance-mode)

This package is in maintenance mode and will not receive further updates because the main issue was fixed by mezzio.

dot-doctrine-metadata badges
----------------------------

[](#dot-doctrine-metadata-badges)

[![OSS Lifecycle](https://camo.githubusercontent.com/6bfa7e05a1c6f94c054505356fc9882341f2dc55413da521cebc0df3f1fca931/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d646f637472696e652d6d65746164617461)](https://camo.githubusercontent.com/6bfa7e05a1c6f94c054505356fc9882341f2dc55413da521cebc0df3f1fca931/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d646f637472696e652d6d65746164617461)[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/5ddcfcc24b5420b25e47996958a6939cdebf113aa70b224df2841f578e0bd820/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d646f637472696e652d6d657461646174612f332e322e32)](https://camo.githubusercontent.com/5ddcfcc24b5420b25e47996958a6939cdebf113aa70b224df2841f578e0bd820/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d646f637472696e652d6d657461646174612f332e322e32)

[![GitHub issues](https://camo.githubusercontent.com/c03a45d087cfc72c6d2310dd22cf8d63c6e1bcbc15ff3e2a34dec199e2f403d4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f646f746b65726e656c2f646f742d646f637472696e652d6d65746164617461)](https://github.com/dotkernel/dot-doctrine-metadata/issues)[![GitHub forks](https://camo.githubusercontent.com/2fb35a06d6a93c54f5342e458d47fdffead17e27ab4476f2b178792ff3c94d6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f646f746b65726e656c2f646f742d646f637472696e652d6d65746164617461)](https://github.com/dotkernel/dot-doctrine-metadata/network)[![GitHub stars](https://camo.githubusercontent.com/d3a8ab108482ede4b63fb15b564badf5832bedec43f1df10a949a5cffadf596a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f646f746b65726e656c2f646f742d646f637472696e652d6d65746164617461)](https://github.com/dotkernel/dot-doctrine-metadata/stargazers)[![GitHub license](https://camo.githubusercontent.com/f024d57d28027439b3389eadbe208c8a8f3d581092ea83ff0656ee2ac38e3b24/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f646f742d646f637472696e652d6d65746164617461)](https://github.com/dotkernel/dot-doctrine-metadata/blob/3.0/LICENSE)

[![Build Static](https://github.com/dotkernel/dot-doctrine-metadata/actions/workflows/continuous-integration.yml/badge.svg?branch=3.0)](https://github.com/dotkernel/dot-doctrine-metadata/actions/workflows/continuous-integration.yml)[![codecov](https://camo.githubusercontent.com/e28a781767b8600012b315a5270ac1cc9535aa7c22ae6a702aa07f6b5c5ee7f0/68747470733a2f2f636f6465636f762e696f2f67682f646f746b65726e656c2f646f742d646f637472696e652d6d657461646174612f67726170682f62616467652e7376673f746f6b656e3d5a4752384c4a475a5635)](https://codecov.io/gh/dotkernel/dot-doctrine-metadata)

[![SymfonyInsight](https://camo.githubusercontent.com/9683394e5a3dabc123ae439c966b9b47dc6134627cdbf854c8491e0f0b02d73d/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f65373662623033622d623633302d346133652d396132342d6236613034636565373231302f6269672e737667)](https://insight.symfony.com/projects/e76bb03b-b630-4a3e-9a24-b6a04cee7210)

Provides metadata and strategies for extracting and rendering Doctrine entities. This package is a wrapper for `mezzio/mezzio-hal` which addresses the doctrine entity proxy metadata issue when using `mezzio/mezzio-hal` to generate HAL responses.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- mezzio/mezzio-hal &gt;= ^2.4

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

[](#installation)

Run the following command in your project root directory:

```
  composer require dotkernel/dot-doctrine-metadata

```

Next, register the package's `ConfigProvider` to your application config:

```
  Dot\DoctrineMetadata\ConfigProvider::class,

```

Note : Make sure to register the package in the `// DK packages` section.

Migrating from previous integrations
------------------------------------

[](#migrating-from-previous-integrations)

To migrate from previous integrations please follow the below steps, in order:

- Remove the previous fork from composer.json at the `repositories` key :

    ```
    {
        "type": "vcs",
        "url": "https://github.com/dotkernel/mezzio-hal"
    }

    ```
- Remove "`mezzio/mezzio-hal`" package from composer.json
- Delete composer.lock
- Run `composer require dotkernel/dot-doctrine-metadata`
- Register the package’s `ConfigProvider` in `/config/config.php` in the `//DK Packages` section `Dot\DoctrineMetadata\ConfigProvider::class,`

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity74

Established project with proven stability

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

Recently: every ~115 days

Total

8

Last Release

571d ago

PHP version history (4 changes)3.0.3PHP ^7.4

3.1.0PHP ~7.4.0 || ~8.0.0 || ~8.1.0

3.2.0PHP ~8.1.0 || ~8.2.0

3.2.2PHP ~8.1.0 || ~8.2.0 || ~8.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1156873?v=4)[Dotkernel](/maintainers/dotkernel)[@dotkernel](https://github.com/dotkernel)

---

Top Contributors

[![arhimede](https://avatars.githubusercontent.com/u/22009710?v=4)](https://github.com/arhimede "arhimede (12 commits)")[![MarioRadu](https://avatars.githubusercontent.com/u/10761919?v=4)](https://github.com/MarioRadu "MarioRadu (11 commits)")[![marioradu05](https://avatars.githubusercontent.com/u/10761919?v=4)](https://github.com/marioradu05 "marioradu05 (11 commits)")[![alexmerlin](https://avatars.githubusercontent.com/u/4542449?v=4)](https://github.com/alexmerlin "alexmerlin (3 commits)")

---

Tags

apilaminasdoctrinemetadatamezziodotkerneldoctrine-proxydoctrine-entitiesdoctrine-metadatamezzio-hal

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dotkernel-dot-doctrine-metadata/health.svg)

```
[![Health](https://phpackages.com/badges/dotkernel-dot-doctrine-metadata/health.svg)](https://phpackages.com/packages/dotkernel-dot-doctrine-metadata)
```

###  Alternatives

[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/packages/doctrine-doctrine-orm-module)[samsonasik/error-hero-module

A Hero for your Laminas and Mezzio application to trap php errors &amp; exceptions

5233.4k1](/packages/samsonasik-error-hero-module)[laminas-api-tools/api-tools-doctrine

Laminas API Tools Doctrine module

10633.9k5](/packages/laminas-api-tools-api-tools-doctrine)[ecodev/graphql-doctrine

Declare GraphQL types from Doctrine entities and attributes

102147.9k4](/packages/ecodev-graphql-doctrine)

PHPackages © 2026

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