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

3.2.2 2024-01-09 10:12 UTC

This package is auto-updated.

Last update: 2024-04-09 11:02:41 UTC


OSS Lifecycle PHP from Packagist (specify version)

GitHub issues GitHub forks GitHub stars GitHub license

Build Static codecov


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.


  • PHP >= 8.1
  • mezzio/mezzio-hal >= ^2.4


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.


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

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": ""
  • 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,