2017 © Pedro PelĂĄez
 

library doctrine-timestamp

A library adding the timestamp type to Doctrine ORM

image

asiviero/doctrine-timestamp

A library adding the timestamp type to Doctrine ORM

  • Thursday, January 18, 2018
  • by asiviero
  • Repository
  • 1 Watchers
  • 0 Stars
  • 83 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 24 % Grown

The README.md

doctrine-timestamp

Implementation of a timestamp type for the Doctrine DBAL, (*1)

This library maps the DateTime PHP class to a Unix timestamp (integer) in the database., (*2)

Installation

Just add this to your composer.json, (*3)

{
  "require": {
    "asiviero/doctrine-timestamp": "dev-master"
  }
}

Then, when bootstraping your doctrine connection :, (*4)

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

The Versions

18/01 2018

dev-allow-null-values

dev-allow-null-values

A library adding the timestamp type to Doctrine ORM

  Sources   Download

MIT

The Requires

 

by Maxime Mérian

orm doctrine datetime timestamp

15/01 2018

dev-master

9999999-dev

A library adding the timestamp type to Doctrine ORM

  Sources   Download

MIT

The Requires

 

by Maxime Mérian
by André Siviero

orm doctrine datetime timestamp

15/01 2018

v0.1.1

0.1.1.0

A library adding the timestamp type to Doctrine ORM

  Sources   Download

MIT

The Requires

 

by Maxime Mérian
by André Siviero

orm doctrine datetime timestamp

15/01 2018

v0.1.0

0.1.0.0

A library adding the timestamp type to Doctrine ORM

  Sources   Download

MIT

The Requires

 

by Maxime Mérian
by André Siviero

orm doctrine datetime timestamp