library doctrine-traits
Doctrine traits for annotation mapping
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
fousky/doctrine-traits
Make Doctrine annotation mapping simply - use prepared traits ;-), (*1)
, (*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.
dev-master
9999999-dev
Doctrine traits for annotation mapping
Sources
Download
MIT
The Requires
by
Lukáš Brzák
2.0.0
2.0.0.0
Doctrine traits for annotation mapping
Sources
Download
MIT
The Requires
by
Lukáš Brzák
1.0.0
1.0.0.0
Doctrine traits for annotation mapping
Sources
Download
MIT
The Requires
by
Lukáš Brzák