Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joubertredrat/entity-datetime
- Owner: joubertredrat
- License: mit
- Created: 2018-06-19T00:06:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T21:21:24.000Z (about 5 years ago)
- Last Synced: 2024-04-28T13:21:02.199Z (8 months ago)
- Topics: doctrine-orm, php-datetime, php-library, php-traits, php7
- Language: PHP
- Homepage: https://packagist.org/packages/redrat/entity-datetime
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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