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: 2021-11-12 17:04:27 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