Download the PHP package e-yari/tik-tok without Composer
On this page you can find all versions of the php package e-yari/tik-tok. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tik-tok
Laravel TikTok Timer ⏱️
یک پکیج ساده، سبک و کاربردی برای اندازهگیری زمان اجرای کد در Laravel.
با استفاده از دو تابع ساده tik() و tok() میتوانید زمان اجرای هر بخشی از کدتان (Controller, Model, Service, Job, Middleware و ...) را به راحتی اندازهگیری کنید.
ویژگیها
- بسیار سبک و بدون dependency اضافی
- استفاده از
hrtime()برای دقت بالا - پشتیبانی از چندین تایمر همزمان با نام دلخواه
- نمایش خودکار زمان در محیط Local / Debug
- ثبت در Log در محیط Production
- نصب و راهاندازی بسیار آسان
- قابل استفاده در همه جای Laravel
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
- ⚡ 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
- PHP:
^8.2 - Laravel:
^10.0 | ^11.0 | ^12.0Sample
tik();
your code
tok();
Installation
composer require e-yari/tik-tokAll versions of tik-tok with dependencies
PHP Build Version
Package Version
The package e-yari/tik-tok contains the following files
Loading the files please wait ...