jaeger-app / date-time
An abstraction for handling dates and times.
Installs: 414
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/jaeger-app/date-time
Requires
- php: >=5.4.0
- mpratt/relativetime: ^1.5
- nesbot/carbon: ~1.14
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2023-11-18 01:46:02 UTC
README
A Trait for handling dates and times without killing yourself.
Installation
Add jaeger-app/date-time
as a requirement to your composer.json
:
$ composer require jaeger-app/date-time
Implementation
Since JaegerApp\Traits\DateTime
is a Trait you just attach it to existing objects like any other PHP Trait (with the use DateTime
statement.