gracious/doctrine-timestamp

An extension to add timestamps on doctrine events

2.0.0 2021-01-12 15:05 UTC

This package is auto-updated.

Last update: 2024-03-12 22:19:49 UTC


README

An extension to add timestamps on doctrine events

Installation

composer require gracious/doctrine-timestamp

Setup

Extend Timestamps extension to the entity and add

@ORM\HasLifecycleCallbacks()

in the annotation of the entity