Skip to content

swarmtech/doctrine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Installation with composer
composer require swarmtech/doctrine:"^1.0"
  1. 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

Gary Gitton

License

This project is licensed under the MIT license. See the LICENSE file for more info.

About

Module to stop working with doctrine repositories and start working with doctrine query providers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages