Skip to content

Commit

Permalink
Merge release-1.3.1
Browse files Browse the repository at this point in the history
Conflicts:
	README.md
  • Loading branch information
criterion9 committed Jan 25, 2020
2 parents fb24082 + 73a8ce3 commit d13dcc1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
BjyProfiler
===========

Master:
[![Build Status](https://travis-ci.org/andrey-mokhov/bjy-profiler.svg?branch=master)](https://travis-ci.org/andrey-mokhov/bjy-profiler)
[![Coverage Status](https://coveralls.io/repos/github/andrey-mokhov/bjy-profiler/badge.svg?branch=master)](https://coveralls.io/github/andrey-mokhov/bjy-profiler)
1.3.1-dev:

Provides Zend\Db adapters with extensions for database query profiling, as well as a profiler similar to ZF1's Zend\_Db\_Profiler.
I ported much of this code from ZF1's Zend_Db.
Provides Laminas\Db adapters with extensions for database query profiling, as well as a profiler similar to ZF1's Zend\_Db\_Profiler.
BJYoungblood ported much of this code from ZF1's Zend_Db.

Note: this module now works with Zend\Db's built-in profiler.
Note: this module now works with Laminas\Db's built-in profiler.

**Note**: PHP >= 5.5 is required for stack traces with query profiles.

Composer/Packagist Users
========================

```console
composer require --dev andrey-mokhov/bjy-profiler
composer require --dev portospire/bjy-profiler
```

Configuration & Usage
Expand All @@ -26,7 +24,6 @@ Add `BjyProfiler` to your `development.config.php` in section `modules`, example
return [
// Additional modules to include when in development mode
'modules' => [
'ZendDeveloperTools',
'BjyProfiler',
],
// Configuration overrides during development mode
Expand All @@ -40,6 +37,6 @@ return [


```php
$profiler = $sl->get('Zend\Db\Adapter\Adapter')->getProfiler();
$profiler = $sl->get('Laminas\Db\Adapter\Adapter')->getProfiler();
$queryProfiles = $profiler->getQueryProfiles();
```

0 comments on commit d13dcc1

Please sign in to comment.