gjpbw / date-ago
Format date. DateAgo for Laravel.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gjpbw/date-ago
Requires
- php: >=7
- illuminate/support: ^5.5
This package is not auto-updated.
Last update: 2025-11-06 07:33:38 UTC
README
Installation
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.
Publishing
php artisan vendor:publish --provider="Gjpbw\DateAgo\DateAgoServiceProvider"
Using
dateAgo($date)
