Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Timestampable Bundle Laravel Package

andanteproject/timestampable-bundle

Symfony bundle for Doctrine entities that automatically manages createdAt and updatedAt with DateTimeImmutable. Zero config to start, customizable, uses Symfony Clock, no attributes needed, and won’t overwrite timestamps you set manually. Compatible with Symfony 5–8, PHP 8.2.

View on GitHub
Deep Wiki
Context7
3.1.0

This release adds Symfony 8 support, an optional metadata cache warmer, and a refactored internal metadata structure for timestampable entities. Existing applications using interfaces and configuration remain fully supported; no breaking changes.

Added

  • Symfony 8 support
    The bundle is compatible with Symfony ^5.0 | ^6.0 | ^7.0 | ^8.0 and Symfony Clock ^6.2 | ^7.0 | ^8.0. CI runs against Symfony 8.0 and Doctrine ORM 3.5 for Symfony 8 compatibility.

  • Optional metadata cache warmer
    Timestampable metadata can be warmed at container build time so the first request does not build it on the fly.

    • New config option: andante_timestampable.metadata_cache_warmer_enabled (default: false). Set to true to enable the warmer. It's suggested to use it in prod environments.

Upgrade

  1. Update the bundle to this version.

  2. (Optional) Enable metadata cache warmer for prod environments:

    andante_timestampable:
      metadata_cache_warmer_enabled: true
    

Built with ❤️ by the Andante Project team.

3.0.3

Symfony Clock 7

3.0.2

Support Symfony 7

3.0.1

Library does not override your createdAt and updatedAt values when you set them explicitly

3.0
  • Move min version of PHP to 8.1;
  • Solve Symfony/doctrine-bridge 6.3 deprecation;
  • Use clock component instead of new \DateTimeImmutable.
2.0
  • Adding support to Event Manager 2.0
  • Correcting deprecations in the event and tests.
  • Updating the annotation tests to attributes

Thanks to @danielesteve-cibervoluntarios!

1.1.0
1.0.1

Fix support for Doctrine Bundle 2.3

1.0.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console