Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace phpro/zf-doctrine-hydration-module with doctrine/doctrine-laminas-hydrator #34

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ The *Admin* module is used to create api-tools resources and the Server serves t
created resources. Generally you would include *Admin* in your `config/development.config.php`
and *Server* in your `config/application.config.php`.

`Laminas\ApiTools\Doctrine\Server` has a dependency with `Phpro\DoctrineHydrationModule` to handle
entity hydration. See [documentation and instructions](https://github.com/phpro/zf-doctrine-hydration-module)
`Laminas\ApiTools\Doctrine\Server` has a dependency with `doctrine-laminas-hydrator` to handle
entity hydration. See [documentation and instructions](https://github.com/doctrine/doctrine-laminas-hydrator)
on how to set up this module.

> ### laminas-component-installer
Expand Down
15 changes: 9 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"forum": "https://discourse.laminas.dev"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"laminas": {
Expand All @@ -29,19 +32,19 @@
}
},
"require": {
"doctrine/doctrine-laminas-hydrator": "^2.2.1",
"php": "^7.3 || ~8.0.0",
"laminas-api-tools/api-tools": "^1.3",
"laminas-api-tools/api-tools-rest": "^1.3.2",
"laminas/laminas-hydrator": "^2.4.2 || ^3.0",
"laminas/laminas-stdlib": "^3.3",
"laminas/laminas-view": "^2.11.3",
"laminas/laminas-zendframework-bridge": "^1.0",
"phpro/zf-doctrine-hydration-module": "^2.0.1 || ^3.0 || ^4.1"
"laminas/laminas-zendframework-bridge": "^1.0"
},
"require-dev": {
"doctrine/doctrine-module": "^1.2.0 || ^2.1.7",
"doctrine/doctrine-module": "^1.2.0 || ^2.1.7 || ^4.0",
"doctrine/doctrine-mongo-odm-module": "^0.11.0 || ^1.0.0 || ^2.0.0",
"doctrine/doctrine-orm-module": "^1.1.8 || ^2.1.3",
"doctrine/doctrine-orm-module": "^1.1.8 || ^2.1.3 || ^3.0",
"doctrine/mongodb-odm": "^1.1.0",
"laminas-api-tools/api-tools-admin": "^1.5.7",
"laminas-api-tools/api-tools-hal": "^1.6.1",
Expand All @@ -54,7 +57,7 @@
"laminas/laminas-test": "^2.6.1 || ^3.0.1",
"mongodb/mongodb": "^1.1.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.3",
"phpunit/phpunit": "^9.5.26",
"psalm/plugin-phpunit": "^0.16.1",
"symfony/yaml": "^2.3 || ^3.0 || ^4.0 || ^5.0",
"vimeo/psalm": "^4.8"
Expand Down
Loading