PHPackages                             todstoychev/timestampable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. todstoychev/timestampable

ActiveBundle[Utility &amp; Helpers](/categories/utility)

todstoychev/timestampable
=========================

Automatic timestamps for Symfony entities.

3.2.0(4y ago)057[1 PRs](https://github.com/todstoychev/timestampable/pulls)MITPHPPHP &gt;=8.0

Since Mar 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/todstoychev/timestampable)[ Packagist](https://packagist.org/packages/todstoychev/timestampable)[ RSS](/packages/todstoychev-timestampable/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (2)Versions (11)Used By (0)

Requirements
============

[](#requirements)

- symfony &gt;= 3.0
- php &gt;= 7.0

Installation
============

[](#installation)

Nothing special:

1. `composer require todstoychev/timestampable`;
2. Add to AppKernel

```
    new Todstoychev\Timestampable\TimestampableBundle(),
```

Usage
=====

[](#usage)

Entity that will use automatic timestamps should implement `Todstoychev\TimestampableBundle\Entity\TimestampableInterface`. The interface implementation is released in `Todstoychev\TimestampableBundle\Entity\Timestampable` trait. So in your entity:

```
use Todstoychev\TimestampableBundle\Entity\Timestampable;
use Todstoychev\TimestampableBundle\Entity\Timestampable;

class MyEntity implements TimestampableInterface
{
    use Timestampable;
}
```

Timestampable trait adds to entity 2 fields: createdAt and updatedAt. Describe those 2 in your entity configuration. If you are using anotations, override those 2 properties in your entity class.

That's all.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~257 days

Recently: every ~82 days

Total

8

Last Release

1585d ago

Major Versions

0.1.0 → 1.0.02019-08-03

1.0.0 → 2.0.02021-03-23

2.1.0 → 3.0.02022-02-17

PHP version history (4 changes)0.1.0PHP &gt;=7.0

1.0.0PHP &gt;=7.1

2.0.0PHP &gt;=7.2

3.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4d5af278828b70e08928a5c1a6b33975cb9709ef0829d4822b5b083887a410f?d=identicon)[todstoychev](/maintainers/todstoychev)

---

Top Contributors

[![todstoychev](https://avatars.githubusercontent.com/u/4498971?v=4)](https://github.com/todstoychev "todstoychev (15 commits)")

### Embed Badge

![Health badge](/badges/todstoychev-timestampable/health.svg)

```
[![Health](https://phpackages.com/badges/todstoychev-timestampable/health.svg)](https://phpackages.com/packages/todstoychev-timestampable)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
