gjpbw/date-ago is a Laravel package for format date. dateago for laravel..
It currently has 0 GitHub stars and 10 downloads on Packagist (latest version v1.0).
Install it with composer require gjpbw/date-ago.
Discover more Laravel packages by gjpbw
or browse all Laravel packages to compare alternatives.
Last updated
Require this package with composer.
composer require gjpbw/date-ago
Laravel <5.5
After updating composer, add the service provider to the providers array in config/app.php
Gjpbw\DateAgo\DateAgoServiceProvider::class,
Laravel >=5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
php artisan vendor:publish --provider="Gjpbw\DateAgo\DateAgoServiceProvider"
dateAgo($date)
