decodelabs/kairos 问题修复 & 功能扩展

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

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

decodelabs/kairos

最新稳定版本:v0.2.1

Composer 安装命令:

composer require decodelabs/kairos

包简介

Time and date utilities

README 文档

README

PHP from Packagist Latest Version Total Downloads GitHub Workflow Status PHPStan License

Time and date utilities

Kairos provides simple time and date tools for PHP.

Installation

This package requires PHP 8.4 or higher.

Install via Composer:

composer require decodelabs/kairos

Usage

Currently, Kairos contains a simple Timer class that can be used to measure elapsed time in PHP scripts.

use DecodeLabs\Kairos\Timer;

$timer = new Timer();
sleep(1);
$elapsed = $timer->time;
sleep(1);
$total = $timer->stop();

More coming soon.

Licensing

Kairos is licensed under the MIT License. See LICENSE for the full license text.

统计信息

  • 总下载量: 2.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-06