PHPackages                             partitech/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. partitech/doctrine-timestamp

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

partitech/doctrine-timestamp
============================

A library adding the timestamp type to Doctrine ORM (forked from mmerian/doctrine-timestamp not updated anymore)

v1.0.1(3y ago)01231MITPHP

Since Feb 23Pushed 3y agoCompare

[ Source](https://github.com/partITech/doctrine-timestamp)[ Packagist](https://packagist.org/packages/partitech/doctrine-timestamp)[ RSS](/packages/partitech-doctrine-timestamp/feed)WikiDiscussions master Synced 1mo ago

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

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

[](#doctrine-timestamp)

Forked version of the mmerian/doctrine-timestamp that have not been updated for years.

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

```
{
  "require": {
    "partitech/doctrine-timestamp": "dev-master"
  }
}
```

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

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1175d ago

### Community

Maintainers

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

---

Top Contributors

[![mmerian](https://avatars.githubusercontent.com/u/167871?v=4)](https://github.com/mmerian "mmerian (6 commits)")[![partITech](https://avatars.githubusercontent.com/u/117969827?v=4)](https://github.com/partITech "partITech (4 commits)")[![popy-dev](https://avatars.githubusercontent.com/u/8566018?v=4)](https://github.com/popy-dev "popy-dev (2 commits)")[![GeraudBourdin](https://avatars.githubusercontent.com/u/9740283?v=4)](https://github.com/GeraudBourdin "GeraudBourdin (1 commits)")

---

Tags

ormdoctrinedatetimetimestamp

### Embed Badge

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

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

###  Alternatives

[scienta/doctrine-json-functions

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

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

An integration library for Laravel and Doctrine ORM

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

Integrate Doctrine ORM into the SonataAdminBundle

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

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/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)
