PHPackages                             bita-sk/wall-timer - 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. bita-sk/wall-timer

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

bita-sk/wall-timer
==================

Simple library for count script execution time

1.0.0(8y ago)01111MITPHPPHP &gt;=5.4

Since Jan 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bita-sk/wall-timer)[ Packagist](https://packagist.org/packages/bita-sk/wall-timer)[ RSS](/packages/bita-sk-wall-timer/feed)WikiDiscussions master Synced 3d ago

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

Wall Timer
==========

[](#wall-timer)

[![](https://camo.githubusercontent.com/23eb90fa51ed7f8314e61b554aa3a6318338e10ba5417ee63bf6e42116281eaf/68747470733a2f2f696d672e736869656c64732e696f2f6175722f6c6963656e73652f79616f7572742e737667)](https://camo.githubusercontent.com/23eb90fa51ed7f8314e61b554aa3a6318338e10ba5417ee63bf6e42116281eaf/68747470733a2f2f696d672e736869656c64732e696f2f6175722f6c6963656e73652f79616f7572742e737667)

#### Script run time measurement library

[](#script-run-time-measurement-library)

- support three languages for output text czech, english, german, russian
- include unit tests
- the option to set the output display
- include *autoload* class for non-use composer

### Default

[](#default)

- language -&gt; *english*
- echo output -&gt; *true*
- time output -&gt; *seconds*

### Usage

[](#usage)

```
  /* Init wall timer */
  $wallTimer = new WallTimer();

  /* Begin measuring */
  $wallTimer->start()

  /* Script to be measured  */
  sleep(2);

 /* End measuring */
  $wallTimer->end()

```

###### Output:

[](#output)

Your script running 2 seconds

##### Result time of measuring

[](#result-time-of-measuring)

```
 // Time output in minutes
 $wall->getTotalTime();

```

##### Change language

[](#change-language)

```
 // Set czech language
 $wall->setOutputLanguage("cs");

```

- *ru* - for russian
- *cs* - for czech
- *en* - for english

##### Result rounding

[](#result-rounding)

```
 $wall->setOutputPrecision(10);

```

###### Output:

[](#output-1)

Your script running 2.0001149178 seconds

##### Change time output

[](#change-time-output)

```
// Time output in minutes
 $wall->setTimeOutput("m");

```

- *s* - for seconds
- *m* - for minutes
- *h* - for hours

##### Turn off echo output

[](#turn-off-echo-output)

```
// Time output in minutes
 $wall->setAllowEchoOutput(false);

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

3028d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f4032bee3de65557efabf2414fa373125e2b793cdb1143e5c333696da239826?d=identicon)[bitask](/maintainers/bitask)

---

Top Contributors

[![bita-sk](https://avatars.githubusercontent.com/u/11835119?v=4)](https://github.com/bita-sk "bita-sk (27 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bita-sk-wall-timer/health.svg)

```
[![Health](https://phpackages.com/badges/bita-sk-wall-timer/health.svg)](https://phpackages.com/packages/bita-sk-wall-timer)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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