Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.18 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.18 KB

StaffimDateTimeBundle

Build Status SensioLabsInsight

StaffimDateTime for Symfony. Bundle presents Timestampable interface/trait for models, Serializer handler, Doctrine MongoDB type handlers for Staffim\DateTime classes.

Installation

Install StaffimDateTimeBundle

The preferred way to install this bundle is to rely on Composer. Just check on Packagist the version you want to install and add it to your composer.json:

{
    "require": {
        // ...
        "staffim/datetime-bundle": "1.0"
    }
}

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Staffim\DateTimeBundle\StaffimDateTimeBundle(),
    );
}