thunbolt / doctrine-timestamp
Installs: 325
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thunbolt/doctrine-timestamp
Requires
- php: >= 7.1
- nette/di: ^2.3 || ^3.0
Requires (Dev)
- kdyby/doctrine: ^3.2
This package is auto-updated.
Last update: 2025-10-05 08:03:46 UTC
README
Usage
extensions: - Thunbolt\Doctrine\DI\TimestampExtension
For created and updated fields:
/** * @ORM\Entity() */ class Entity { use Thunbolt\Doctrine\Traits\Timestamp; }
For created:
/** * @ORM\Entity() */ class Entity { use Thunbolt\Doctrine\Traits\TimestampCreated; }
For updated:
/** * @ORM\Entity() */ class Entity { use Thunbolt\Doctrine\Traits\TimestampUpdated; }