Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joubertredrat/entity-datetime

Trait for easy manage useful datetime in Doctrine and other entities
https://github.com/joubertredrat/entity-datetime

doctrine-orm php-datetime php-library php-traits php7

Last synced: 2 months ago
JSON representation

Trait for easy manage useful datetime in Doctrine and other entities

Awesome Lists containing this project

README

        

# Entity datetime

[![Build Status](https://travis-ci.org/joubertredrat/entity-datetime.svg?branch=master)](https://travis-ci.org/joubertredrat/entity-datetime)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/joubertredrat/entity-datetime/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/joubertredrat/entity-datetime/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/joubertredrat/entity-datetime/badges/build.png?b=master)](https://scrutinizer-ci.com/g/joubertredrat/entity-datetime/build-status/master)
[![Code Coverage](https://scrutinizer-ci.com/g/joubertredrat/entity-datetime/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/joubertredrat/entity-datetime/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/redrat/entity-datetime/v/stable)](https://packagist.org/packages/redrat/entity-datetime)
[![Total Downloads](https://poser.pugx.org/redrat/entity-datetime/downloads)](https://packagist.org/packages/redrat/entity-datetime)
[![License](https://poser.pugx.org/redrat/entity-datetime/license)](https://packagist.org/packages/redrat/entity-datetime)

Trait for easy manage useful datetime in entities.

#### Install

Install by composer

```
composer require redrat/entity-datetime
```

#### Usage

##### With Doctrine

1 - Add trait in your Entity

```php