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(1mo ago)03↓50%MITPHPPHP ^8.2

Since Jul 1Pushed 1mo agoCompare

[ 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 2w ago

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

39

—

LowBetter than 84% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

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

46d 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

8051.8M6](/packages/fruitcake-laravel-telescope-toolbar)[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[ecotone/laravel

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

21327.3k4](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[binarybuilds/laritor-client

The official Laritor client for Laravel. Stream traces, exceptions, queries, jobs, and more to your Laritor dashboard in under 30 seconds.

1956.7k](/packages/binarybuilds-laritor-client)

PHPackages © 2026

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