PHPackages                             yogeshjoshi/laravel-time-logger - 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. yogeshjoshi/laravel-time-logger

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

yogeshjoshi/laravel-time-logger
===============================

Laravel Time Logger is a lightweight and developer-friendly profiling utility for Laravel. It helps measure and log code execution time effortlessly, making performance debugging simple and efficient.

1.0.0(1y ago)06MITPHPPHP &gt;=8.0

Since Apr 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yogesh-joshi-0333/laravel-time-logger)[ Packagist](https://packagist.org/packages/yogeshjoshi/laravel-time-logger)[ RSS](/packages/yogeshjoshi-laravel-time-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Scoped Timer for Laravel
========================

[](#scoped-timer-for-laravel)

A lightweight Laravel package that helps profile code execution time using RAII-style scoped timing.

Installation
------------

[](#installation)

```
composer require yogeshjoshi/laravel-time-logger
```

Usage
-----

[](#usage)

```
using class

use LaravelTimeLogger\LaravelTimeLogger;

function exportCSV() {
    $timer = new LaravelTimeLogger("Export CSV");
    $timer->start();
    // do work here
    $timer->stop();
}

using helper function

$timer = timerlog('Helper test');
$timer->start();
// do work here
$timer->stop();
```

Publishing Config
-----------------

[](#publishing-config)

```
php artisan vendor:publish --tag=laravel-time-logger
```

Config Options
--------------

[](#config-options)

- `log_channel` — Where to log results (default: `daily`)
- `enabled` — Enable or disable timing

---

You're ready to go!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance47

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

398d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ed4bac54774750fbe9139f50bec4d2e51822846d5572b84824905231994f7d3?d=identicon)[yogeshjoshi](/maintainers/yogeshjoshi)

---

Top Contributors

[![yogesh-joshi-0333](https://avatars.githubusercontent.com/u/27756725?v=4)](https://github.com/yogesh-joshi-0333 "yogesh-joshi-0333 (5 commits)")

---

Tags

laravelperformancedebuggingprofilingtimerscopedtime logger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yogeshjoshi-laravel-time-logger/health.svg)

```
[![Health](https://phpackages.com/badges/yogeshjoshi-laravel-time-logger/health.svg)](https://phpackages.com/packages/yogeshjoshi-laravel-time-logger)
```

###  Alternatives

[laracraft-tech/laravel-xhprof

Easy XHProf setup to profile your laravel application!

235321.4k](/packages/laracraft-tech-laravel-xhprof)[bavix/laravel-xhprof

Quick profiling of your code for Laravel

22156.6k](/packages/bavix-laravel-xhprof)[koriym/xdebug-mcp

Universal PHP Xdebug MCP Server with AI-optimized debugging support

4011.6k1](/packages/koriym-xdebug-mcp)[wikimedia/arc-lamp

Flame graphs and log processing for PHP stack traces.

434.4k](/packages/wikimedia-arc-lamp)

PHPackages © 2026

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