PHPackages                             web36/performance - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. web36/performance

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

web36/performance
=================

A development tool for monitoring application performance and debugging bottlenecks in your code.

1.0.0(3y ago)03MITPHP

Since Oct 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MehmetCanak/php-performance-test)[ Packagist](https://packagist.org/packages/web36/performance)[ RSS](/packages/web36-performance/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

This package is a simple package designed for measuring performance in Laravel applications.

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

[](#installation)

You can install the package via composer:

```
composer require web36/performance
```

Usage
-----

[](#usage)

### example

[](#example)

```
use web36\LaravelPerformance\Performance;

class PerformanceTest
{
    public function index()
    {

        $unit = Performance::getInstance();

        $counterKey1 = 'test_counter1';
        $counterKey2 = 'test_counter2';

        $unit->timeStart($counterKey1);

        // do something
        //example
        usleep(random_int(100, 100000));

        for ($i = 1; $i timeStart($counterKey2);
            // do something
            //example
            usleep(random_int(100, 100000));
            $unit->timeEnd($counterKey2);
        }

        $unit->timeEnd($counterKey1);

        // if you want to see total time for $counterKey1
        $counterKey1Time = $unit->getTotalTime($counterKey1);

        // if you want to see total time of all counters
        $totalTimes[] = $unit->getAllTotalTime();

        // if you want to see average time for $counterKey2
        $averageTime = $unit->getAverageTime($counterKey2);

        // if you want to see average time for all counters
        $averageTime = $unit->getAllAverageTime();

        // if you want to see all counters
        $allCounters = $unit->getAllCounters();

        // if you want to see all counters with average time
        $allCountersWithAverageTime = $unit->getAllCountersWithAverageTime();

}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1311d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/486da8a6e4c623c9d7377e6f16407ae23efcd8939a008adbb3f56e5fdfb8b087?d=identicon)[mehmetcanak](/maintainers/mehmetcanak)

---

Top Contributors

[![MehmetCanak](https://avatars.githubusercontent.com/u/15331775?v=4)](https://github.com/MehmetCanak "MehmetCanak (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/web36-performance/health.svg)

```
[![Health](https://phpackages.com/badges/web36-performance/health.svg)](https://phpackages.com/packages/web36-performance)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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