djuricmilos / stopwatch
Elapsed time measurement
Installs: 5 049
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.3
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-11-04 17:18:41 UTC
README
Installation
The preferred method of installation is via Composer. Run the following command to install the latest version of a package and add it to your project's composer.json
:
composer require djuricmilos/stopwatch
Usage
use Laganica\Stopwatch\Stopwatch; $stopwatch = Stopwatch::createNew(); $stopwatch->start(); $stopwatch->getElapsedMilliseconds(); $stopwatch->stop();
Credits
License
Released under MIT License - see the License File for details.