Laravel version update

Laravel version update
This commit is contained in:
Manish Verma
2018-08-06 18:48:58 +05:30
parent d143048413
commit 126fbb0255
13678 changed files with 1031482 additions and 778530 deletions

View File

@@ -6,13 +6,13 @@ Utility class for timing things, factored out of PHPUnit into a stand-alone comp
## Installation
To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-timer` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_Timer:
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
{
"require": {
"phpunit/php-timer": "~1.0"
}
}
composer require phpunit/php-timer
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev phpunit/php-timer
## Usage
@@ -21,8 +21,6 @@ To add this package as a local, per-project dependency to your project, simply a
```php
PHP_Timer::start();
$timer->start();
// ...
$time = PHP_Timer::stop();