PHPackages                             e-yari/tik-tok - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. e-yari/tik-tok

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

e-yari/tik-tok
==============

Simple and lightweight tik() / tok() timer for Laravel

v1.0.2(today)03↑2900%MITPHPPHP ^8.2

Since Jul 1Pushed todayCompare

[ Source](https://github.com/yari-eliyas/Tik-Tok)[ Packagist](https://packagist.org/packages/e-yari/tik-tok)[ RSS](/packages/e-yari-tik-tok/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Laravel TikTok Timer ⏱️
=======================

[](#laravel-tiktok-timer-️)

[![Laravel](https://camo.githubusercontent.com/2ccd0a14da1a5cdb724183d15eb5e2fe648d2515fd4fa4affcdbc8472a7c4ccd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d3130253243313125324331322d7265643f7374796c653d666c6174266c6f676f3d6c61726176656c)](https://camo.githubusercontent.com/2ccd0a14da1a5cdb724183d15eb5e2fe648d2515fd4fa4affcdbc8472a7c4ccd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d3130253243313125324331322d7265643f7374796c653d666c6174266c6f676f3d6c61726176656c)[![PHP](https://camo.githubusercontent.com/c34da9c82a584e733da413d0b59b561e422a5339403e27b7ce09cbfa03cc36da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c75653f7374796c653d666c6174266c6f676f3d706870)](https://camo.githubusercontent.com/c34da9c82a584e733da413d0b59b561e422a5339403e27b7ce09cbfa03cc36da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c75653f7374796c653d666c6174266c6f676f3d706870)

یک پکیج ساده، سبک و کاربردی برای **اندازه‌گیری زمان اجرای کد** در Laravel.

با استفاده از دو تابع ساده `tik()` و `tok()` می‌توانید زمان اجرای هر بخشی از کدتان (Controller, Model, Service, Job, Middleware و ...) را به راحتی اندازه‌گیری کنید.

---

ویژگی‌ها
--------

[](#ویژگی‌ها)

- بسیار سبک و بدون dependency اضافی
- استفاده از `hrtime()` برای دقت بالا
- پشتیبانی از چندین تایمر همزمان با نام دلخواه
- نمایش خودکار زمان در محیط Local / Debug
- ثبت در Log در محیط Production
- نصب و راه‌اندازی بسیار آسان
- قابل استفاده در همه جای Laravel

---

English
-------

[](#english)

**TikTok Timer** is a simple, lightweight package that helps you measure the execution time of your code in Laravel applications.

Just use `tik()` to start and `tok()` to stop and see how long a piece of code takes.

### Features

[](#features)

- ⚡ Very lightweight (no dependencies)
- 🎯 High precision using `hrtime()`
- 🔖 Support for multiple named timers
- 🖥️ Beautiful output in local/debug mode
- 📝 Auto logging in production
- 🌐 Works everywhere (Controllers, Models, Services, Jobs, Middleware, etc.)

### Requirements

[](#requirements)

- **PHP**: `^8.2`
- **Laravel**: `^10.0 | ^11.0 | ^12.0`

### Sample

[](#sample)

tik();

your code

tok();

### Installation

[](#installation)

```
composer require e-yari/tik-tok
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance100

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62aebb8c7371a417c9c7a4c48049cb0c8a0c2b96b8cb1958b59a40734c95ce35?d=identicon)[yari-eliyas](/maintainers/yari-eliyas)

---

Top Contributors

[![yari-eliyas](https://avatars.githubusercontent.com/u/108224777?v=4)](https://github.com/yari-eliyas "yari-eliyas (7 commits)")

---

Tags

laraveldebugtimerbenchmarktiktok

### Embed Badge

![Health badge](/badges/e-yari-tik-tok/health.svg)

```
[![Health](https://phpackages.com/badges/e-yari-tik-tok/health.svg)](https://phpackages.com/packages/e-yari-tik-tok)
```

###  Alternatives

[fruitcake/laravel-telescope-toolbar

Toolbar for Laravel Telescope based on Symfony Web Profiler

8041.7M5](/packages/fruitcake-laravel-telescope-toolbar)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[daylerees/anbu

The Anbu profiler for Laravel 4.

3054.9k](/packages/daylerees-anbu)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[adobrovolsky97/illuminar

Debug tool for Laravel Framework

2397.1k](/packages/adobrovolsky97-illuminar)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3891.8k](/packages/codewithdennis-larament)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
