2017 © Pedro PelĂĄez
 

library doctrine-tools

A set of tools for Doctrine

image

remi-san/doctrine-tools

A set of tools for Doctrine

  • Monday, March 28, 2016
  • by remi-san
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3,156 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Doctrine tools

Author Build Status Quality Score Software License Packagist Version Coverage Status SensioLabsInsight, (*1)

Providing easy-to-use tools for doctrine., (*2)

Content

This lib provides the following util classes: - EntityManagerBuilder an entity manager builder providing an easy way to add Doctrine types to the EntityManager, you can also call methods on the type using a callable formatted array. It has been designed to be compatible with Symfony DI config files. - Psr3SqlLogger is a Doctrine logger encapsulating a PSR3 logger., (*3)

Usage example

EntityManagerBuilder, (*4)

$builder = new EntityManagerBuilder($connection, $config);
$builder->addType('customName', CustomType::class, [ [ 'callTypeMethod', []] ]);
$entityManager = $builder->buildEntityManager();

Psr3SqlLogger, (*5)

$logger = new Psr3SqlLogger($psr3Logger, LogLevel::INFO);

The Versions

28/03 2016

dev-master

9999999-dev

A set of tools for Doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

doctrine tools

28/03 2016
23/03 2016