2017 © Pedro Peláez
 

library doctrine-traits

Doctrine traits for annotation mapping

image

fousky/doctrine-traits

Doctrine traits for annotation mapping

  • Sunday, October 8, 2017
  • by rapemer
  • Repository
  • 1 Watchers
  • 2 Stars
  • 147 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

fousky/doctrine-traits

Make Doctrine annotation mapping simply - use prepared traits ;-), (*1)

Scrutinizer Code Quality Build Status, (*2)

1. Instalation via Composer

composer require fousky/doctrine-traits, (*3)

2. Enjoy it!

  • ActiveableTrait and ActiveableInterface use for (bool) $active definition.
  • ConfirmationTrait and ConfirmationInterface use for bool $confirmed, string $confirmationToken and \DateTime $confirmedAt definition.
  • IdTrait use for integer $id mapping.
  • TimestampableTrait use for \DateTime $createdAt and \DateTime|null $updatedAt mapping with PrePersist and PreUpdate lifecycle callbacks.
  • UuidAutogeneratedTrait use with ramsey/uuid-doctrine library.

The Versions

08/10 2017

dev-master

9999999-dev

Doctrine traits for annotation mapping

  Sources   Download

MIT

The Requires

 

by Lukáš Brzák

08/10 2017

2.0.0

2.0.0.0

Doctrine traits for annotation mapping

  Sources   Download

MIT

The Requires

 

by Lukáš Brzák

19/04 2017

1.0.0

1.0.0.0

Doctrine traits for annotation mapping

  Sources   Download

MIT

The Requires

 

by Lukáš Brzák