PHPackages                             moln/doctrine-timestamp - 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. [Database &amp; ORM](/categories/database)
4. /
5. moln/doctrine-timestamp

ActiveLibrary[Database &amp; ORM](/categories/database)

moln/doctrine-timestamp
=======================

A library adding the timestamp type to Doctrine ORM

1.1.0(3y ago)01.1kMITPHPPHP &gt;=5.5.0

Since Jul 15Pushed 3y agoCompare

[ Source](https://github.com/Moln/doctrine-timestamp)[ Packagist](https://packagist.org/packages/moln/doctrine-timestamp)[ RSS](/packages/moln-doctrine-timestamp/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

doctrine-timestamp
==================

[](#doctrine-timestamp)

Implementation of a timestamp type for the Doctrine DBAL

This library maps the [DateTime](http://www.php.net/manual/fr/class.datetime.php)PHP class to a Unix timestamp (integer) in the database.

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

[](#installation)

Just add this to your composer.json

```
composer require moln/doctrine-timestamp
```

Then, when bootstraping your doctrine connection :

```
Type::addType('timestamp', 'DoctrineTimestamp\DBAL\Types\Timestamp');
$conn->getDatabasePlatform()->registerDoctrineTypeMapping('Timestamp', 'timestamp');
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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

Unknown

Total

1

Last Release

1394d ago

### Community

Maintainers

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

---

Top Contributors

[![mmerian](https://avatars.githubusercontent.com/u/167871?v=4)](https://github.com/mmerian "mmerian (6 commits)")[![Moln](https://avatars.githubusercontent.com/u/2050694?v=4)](https://github.com/Moln "Moln (3 commits)")[![popy-dev](https://avatars.githubusercontent.com/u/8566018?v=4)](https://github.com/popy-dev "popy-dev (2 commits)")

---

Tags

ormdoctrinedatetimetimestamp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/moln-doctrine-timestamp/health.svg)

```
[![Health](https://phpackages.com/badges/moln-doctrine-timestamp/health.svg)](https://phpackages.com/packages/moln-doctrine-timestamp)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M35](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M86](/packages/laravel-doctrine-orm)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M154](/packages/sonata-project-doctrine-orm-admin-bundle)[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M292](/packages/doctrine-doctrine-orm-module)[vlucas/spot2

Simple DataMapper built on top of Doctrine DBAL

605392.8k7](/packages/vlucas-spot2)[mmerian/doctrine-timestamp

A library adding the timestamp type to Doctrine ORM

15176.8k](/packages/mmerian-doctrine-timestamp)

PHPackages © 2026

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