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
| Flag | Language | ISO 639-1 |
|---|---|---|
| 🇬🇧 | English | en |
| 🇷🇺 | Russian | ru |
| 🇺🇦 | Ukrainian | uk |
| 🇳🇱 | Dutch | nl |
| 🇩🇪 | German | de |
| 🇨🇳 | Chinese Simplified | zh |
composer require serhii/agoThe Ago project is licensed under the MIT License
To build an image, navigate to the root of project and run this command.
With Podman:
podman-compose buildWith Docker:
docker compose buildTo run the container, navigate to the root of and run this command.
With Podman:
podman-compose run --rm appWith Docker:
docker compose run --rm appAfter you are done working on a project, you can cleanup and run the command below to remove things like created networks for the current project.
With Podman:
podman-compose downWith Docker:
docker compose down