serhii / ago
Converts given date into a nice readable format. Supports russian and english. Example will be '1 hour ago', '2 days ago', '1 second ago', 'Online' and so.
Installs: 2 118
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 2
Open Issues: 2
Requires
- php: ^7.1|^8.0
- nesbot/carbon: ^3.2.4
Requires (Dev)
- arokettu/private-access: ^3.0.0
- laravel/pint: dev-main
- phpstan/phpstan: ^1.10.57
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: ^3.7.2
- symfony/var-dumper: ^4.2
- dev-main
- 3.2.6
- v3.2.5.x-dev
- 3.2.5
- v3.2.4.x-dev
- 3.2.4
- v3.2.3.x-dev
- 3.2.3
- v3.2.2.x-dev
- 3.2.2
- v3.2.1.x-dev
- 3.2.1
- v3.2.0.x-dev
- 3.2.0
- v3.1.0.x-dev
- 3.1.0
- v3.0.6.x-dev
- 3.0.6
- v3.0.5.x-dev
- 3.0.5
- v3.0.4.x-dev
- 3.0.4
- v3.0.3.x-dev
- 3.0.3
- v3.0.2.x-dev
- 3.0.2
- v3.0.1.x-dev
- 3.0.1
- v3.0.0.x-dev
- 3.0.0
- v2.3.1.x-dev
- 2.3.1
- v2.3.0.x-dev
- 2.3.0
- v2.2.1.x-dev
- 2.2.1
- v2.2.0.x-dev
- 2.2.0
- v2.1.3.x-dev
- 2.1.3
- v2.1.2.x-dev
- 2.1.2
- v2.1.1.x-dev
- 2.1.1
- v2.1.0.x-dev
- 2.1.0
- v2.0.x-dev
- v2.0.8.x-dev
- 2.0.8
- v2.0.7.x-dev
- 2.0.7
- v2.0.6.x-dev
- 2.0.6
- v2.0.5.x-dev
- 2.0.5
- v2.0.4.x-dev
- 2.0.4
- v2.0.3.x-dev
- 2.0.3
- v2.0.2.x-dev
- 2.0.2
- v2.0.1.x-dev
- 2.0.1
- 2.0
- v1.3.x-dev
- v1.3.2.x-dev
- 1.3.2
- v1.3.1.x-dev
- 1.3.1
- 1.3
- v1.2.x-dev
- v1.2.1.x-dev
- 1.2.1
- 1.2
- v1.1.0.x-dev
- 1.1.0
- v1.0.3.x-dev
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-11-01 17:26:19 UTC
README
Date/time converter into "n time ago" format that supports multiple languages, such as π·πΊ π¬π§ π³π± πΊπ¦ π©πͺ. You can contribute any language that you wish easily by creating a pull request. When new PHP version comes out, this package will be updated to support it as soon as possible.
This package is well tested, optimized and already used in many production apps. It has shown itself pretty well. If you find any issues or bugs π, please create an issue, and I'll fix it as soon as I can.
Follow the official documentation for more information
π Quick Start
composer require serhii/ago
License
The Ago project is licensed under the MIT License