2017 © Pedro Peláez
 

library timer

PHP timer

image

bedd/timer

PHP timer

  • Monday, August 21, 2017
  • by schwaen
  • Repository
  • 2 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality, (*1)

Installation

The best way to install this library is to use composer., (*2)

{
    "require": {
        "bedd/timer": "1.*"
    }
}

Usage

$t = new Bedd\Timer\Timer();
$t->start();

// your process
sleep(3);

$t->end();
print_r($t->getSummary());

Output

Array
(
    [status] => 3
    [start] => 1488831973.2328
    [end] => 1488831976.2334
    [total] => 3.0005979537964
    [paused] => 0
    [laps] => Array
        (
            [0] => Array
                (
                    [name] => start
                    [start] => 1488831973.2328
                    [end] => 1488831976.2334
                    [total] => 3.0006039142609
                )
        )
)

License

This library is available under the MIT license., (*3)

The Versions

21/08 2017

dev-master

9999999-dev

PHP timer

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Sven Muhle

timer benchmark performance

07/03 2017

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

PHP timer

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Sven Muhle

timer benchmark performance

06/03 2017

1.0.0

1.0.0.0

PHP timer

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Sven Muhle

timer benchmark performance