dotkernel / dot-doctrine-metadata
DotKernel wrapper that sits on top of mezzio-hal package and resolves the doctrine proxy issues.
Installs: 2 043
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 1
Open Issues: 4
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- doctrine/common: ^3.4
- mezzio/mezzio-hal: ^2.9.0
Requires (Dev)
- laminas/laminas-coding-standard: ^2.5
- phpunit/phpunit: ^10.2
- vimeo/psalm: ^5.13
This package is auto-updated.
Last update: 2024-10-23 10:00:33 UTC
README
Important
dot-doctrine-metadata is a wrapper on top of mezzio/mezzio-hal
Caution
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
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
- PHP >= 8.1
- mezzio/mezzio-hal >= ^2.4
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
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
sectionDot\DoctrineMetadata\ConfigProvider::class,