PHPackages                             ricardoboss/doctrine-dbal-timestamp-type - 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. ricardoboss/doctrine-dbal-timestamp-type

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

ricardoboss/doctrine-dbal-timestamp-type
========================================

Add the timestamp type for Doctrine/DBAL

v2.0.1(5y ago)2156MITPHPPHP &gt;=5.6.4

Since Nov 24Pushed 5y agoCompare

[ Source](https://github.com/ricardoboss/doctrine-dbal-timestamp-type)[ Packagist](https://packagist.org/packages/ricardoboss/doctrine-dbal-timestamp-type)[ RSS](/packages/ricardoboss-doctrine-dbal-timestamp-type/feed)WikiDiscussions master Synced yesterday

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

Doctrine/DBAL Timestamp Type
============================

[](#doctrinedbal-timestamp-type)

Since Doctrine/DBAL does not support the MySQL Timestamp type, you might want to add it on your own using this package.

Why using this?
---------------

[](#why-using-this)

According to [this issue](https://github.com/doctrine/dbal/issues/2558), [Doctrine/DBAL](https://github.com/doctrine/dbal) does not support MySQL-specific database types like this one. Therefore, we must add it ourself.

Installation
------------

[](#installation)

```
composer require ricardoboss/doctrine-dbal-timestamp-type
```

Then add the type to `Doctrine\DBAL`:

```
\Doctrine\DBAL\Types\Type::addType('timestamp', 'MarkTopper\DoctrineDBALTimestampType\TimestampType');
```

### Laravel 5

[](#laravel-5)

You can use the Laravel Provider to ensure that the type is added to Doctrine\\DBAL by adding the following to providers:

```
MarkTopper\DoctrineDBALTimestampType\LaravelServiceProvider::class,
```

For Laravel &gt; 5.5 this service provider will be loaded automatically.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~319 days

Total

5

Last Release

2180d ago

Major Versions

v1.0.2 → v2.0.02019-12-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ea436f1f084470f9d75ca0fde95e2418ba03d560bc4e20e03171648c123fa80?d=identicon)[ricardoboss](/maintainers/ricardoboss)

---

Top Contributors

[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (12 commits)")[![matriphe](https://avatars.githubusercontent.com/u/277262?v=4)](https://github.com/matriphe "matriphe (5 commits)")[![ricardoboss](https://avatars.githubusercontent.com/u/6266356?v=4)](https://github.com/ricardoboss "ricardoboss (5 commits)")[![jonrobinson](https://avatars.githubusercontent.com/u/1872553?v=4)](https://github.com/jonrobinson "jonrobinson (2 commits)")[![patrickomeara](https://avatars.githubusercontent.com/u/571773?v=4)](https://github.com/patrickomeara "patrickomeara (1 commits)")

---

Tags

laraveldatabasemysqldoctrinedbaltimestamp

### Embed Badge

![Health badge](/badges/ricardoboss-doctrine-dbal-timestamp-type/health.svg)

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

###  Alternatives

[marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

49808.2k1](/packages/marktopper-doctrine-dbal-timestamp-type)[scienta/doctrine-json-functions

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

58523.9M36](/packages/scienta-doctrine-json-functions)[nettrine/dbal

Doctrine DBAL for Nette Framework

322.6M19](/packages/nettrine-dbal)[jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

2191.6M1](/packages/jsor-doctrine-postgis)[larapack/doctrine-support

Better Doctrine Support with Laravel (Support for `enum`)

1752.3M55](/packages/larapack-doctrine-support)[laravel-doctrine/fluent

A fluent PHP mapping driver for Doctrine2.

43430.3k13](/packages/laravel-doctrine-fluent)

PHPackages © 2026

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