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(6y ago)2156MITPHPPHP &gt;=5.6.4

Since Nov 24Pushed 6y 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 3w ago

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 57% 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

2233d ago

Major Versions

v1.0.2 → v2.0.02019-12-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6266356?v=4)[Ricardo Boss](/maintainers/ricardoboss)[@ricardoboss](https://github.com/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

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

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

58825.9M54](/packages/scienta-doctrine-json-functions)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[nettrine/dbal

Doctrine DBAL for Nette Framework

332.7M24](/packages/nettrine-dbal)[laravel-doctrine/migrations

Doctrine Migrations for Laravel

792.9M17](/packages/laravel-doctrine-migrations)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)

PHPackages © 2026

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