binota / laravel-php-duration
A wrapper of kevinkhill/php-duration
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 1 979
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- khill/php-duration: ~1.0
This package is not auto-updated.
Last update: 2019-07-27 18:42:51 UTC
README
This package is a wrapper of kevinkhill/php-duration. It provides Facade and Service Provider for Laravel Framework
Installation
Simply use composer:
composer require binota/laravel-php-duration
Add service provider in config/app.php
:
'providers' => [ // .... Binota\LaravelPhpDuration\DurationServiceProvider::class, ],
Add alia for facade:
'alias' => [ // .... Binota\LaravelPhpDuration\Facades\Duration::class, ]