swarmtech / doctrine
This package is abandoned and no longer maintained.
No replacement package was suggested.
Swarmtech Doctrine
1.1.3
2020-01-30 01:45 UTC
Requires
- php: >=7.2
- doctrine/doctrine-orm-module: ^2.1
This package is auto-updated.
Last update: 2024-06-29 05:06:23 UTC
README
Doctrine module for Laminas
Goal of this project is to stop using Entity Repositories and start working with query provider instead. Not sure if it's a good idea but it allow to split each query doctrine in it's own QueryProvider provider file. To implements query provider we had to extends the QueryBuilder and to create interface for it. Added query builder interfaces, query provider factory, single value hydrator.
Requirements
- Doctrine 2
Installation
- Installation with composer
composer require swarmtech/doctrine:"^1.0"
- Enable module for Laminas by adding
Swarmtech\\Doctrine
in config/modules.config.php
return [ "Swarmtech\\Doctrine", ];
Feature
- QueryProviderFactory to create your QueryProvider classes
- QueryBuilder Interfaces to make the use of QueryProvider easy
Issue reporting
If you have found a bug or if you have a feature request, please report them at this repository issues section.
Author
License
This project is licensed under the MIT license. See the LICENSE file for more info.