serhii/ago 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

serhii/ago

最新稳定版本:4.2.0

Composer 安装命令:

composer require serhii/ago

包简介

Transforms a given date into a human-readable "time ago" format with multilingual support. Example outputs include "1 hour ago", "2 days ago", "Just now", and "Online". The results are fully customizable to fit your specific needs

README 文档

README

Ago package

Ago Total Downloads License

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

Supported Languages

Flag Language ISO 639-1
🇬🇧 English en
🇷🇺 Russian ru
🇺🇦 Ukrainian uk
🇳🇱 Dutch nl
🇩🇪 German de
🇨🇳 Chinese Simplified zh

Quick Start

composer require serhii/ago

License

The Ago project is licensed under the MIT License

Contribute

With Container Engine

Build an Image

To build an image, navigate to the root of project and run this command.

With Podman:

podman-compose build

With Docker:

docker compose build

Run the Container

To run the container, navigate to the root of and run this command.

With Podman:

podman-compose run --rm app

With Docker:

docker compose run --rm app

Cleanup

After 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 down

With Docker:

docker compose down

统计信息

  • 总下载量: 2.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-23