2017 © Pedro Peláez
 

library laravel-timer

A small tool to measure operations execution time.

image

astatroth/laravel-timer

A small tool to measure operations execution time.

  • Friday, November 10, 2017
  • by Astatroth
  • Repository
  • 2 Watchers
  • 6 Stars
  • 1,138 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

laravel-timer

Total Downloads, (*1)

A small tool to measure operations execution time., (*2)

Installation

composer require "astatroth/laravel-timer":"dev-master"

Add the service provider ..., (*3)

Astatroth\LaravelTimer\LaravelTimerServiceProvider::class,

or if you use Lumen, (*4)

Astatroth\LaravelTimer\LumenTimerServiceProvider::class,

... and facade:, (*5)

'Timer' => Astatroth\LaravelTimer\Timer::class,

Usage

Just start the Timer with, (*6)

Timer::timerStart('timer-name');

If you start and stop the same timer multiple times, the measured intervals will be accumulated., (*7)

Reading specified timer current time:, (*8)

Timer::timerRead('timer-name);

Stop the timer:, (*9)

Timer::timerStop('timer-name');

Have fun! ;), (*10)

The Versions

10/11 2017

dev-master

9999999-dev

A small tool to measure operations execution time.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Avatar Astatroth