https://github.com/dotkernel/dot-doctrine-metadata
Provides metadata and strategies for extracting and rendering Doctrine entities
https://github.com/dotkernel/dot-doctrine-metadata
Last synced: 9 months ago
JSON representation
Provides metadata and strategies for extracting and rendering Doctrine entities
- Host: GitHub
- URL: https://github.com/dotkernel/dot-doctrine-metadata
- Owner: dotkernel
- License: mit
- Created: 2020-12-21T10:57:27.000Z (about 5 years ago)
- Default Branch: 3.0
- Last Pushed: 2024-10-23T10:00:30.000Z (over 1 year ago)
- Last Synced: 2025-04-19T21:48:48.440Z (9 months ago)
- Language: PHP
- Size: 45.9 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# dot-doctrine-metadata
> [!IMPORTANT]
> dot-doctrine-metadata is a wrapper on top of [mezzio/mezzio-hal](https://github.com/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


[](https://github.com/dotkernel/dot-doctrine-metadata/issues)
[](https://github.com/dotkernel/dot-doctrine-metadata/network)
[](https://github.com/dotkernel/dot-doctrine-metadata/stargazers)
[](https://github.com/dotkernel/dot-doctrine-metadata/blob/3.0/LICENSE)
[](https://github.com/dotkernel/dot-doctrine-metadata/actions/workflows/continuous-integration.yml)
[](https://codecov.io/gh/dotkernel/dot-doctrine-metadata)
[](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
- 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` section
`Dot\DoctrineMetadata\ConfigProvider::class,`