yiidoc/yii2-timeago 问题修复 & 功能扩展

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

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

yiidoc/yii2-timeago

最新稳定版本:2.0.0

Composer 安装命令:

composer require yiidoc/yii2-timeago

包简介

Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps. Forked from @rmm5t for Yii2 framework.

README 文档

README

Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps. Forked from @rmm5t for Yii2 framework

Installation

Either run

composer global require "fxp/composer-asset-plugin:1.0.0-beta4" 

And add

"yiidoc/yii2-timeago": "dev-master", 

Usage

<?= \yii\timeago\TimeAgo::widget(['timestamp' => $model->published_at]); ?> 

Now you can use the widget. If you have time, I will write detailed instructions. If you want to change or issue. please open the issue or create pull Thanks for use.

统计信息

  • 总下载量: 99.28k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 3
  • 依赖项目数: 9
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 2
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固