PHPackages                             js/mysqlnd-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. js/mysqlnd-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

js/mysqlnd-bundle
=================

The JSMysqlndBundle is an extension to the Symfony2 profiling toolbar. It extends the data collection with information gathered from PHP's mysqlnd database driver, giving more insight on the performance.

v1.1.3(12y ago)803.4k5[4 issues](https://github.com/johannes/JSMysqlndBundle/issues)BSD-3-ClausePHPPHP &gt;=5.3.2

Since Mar 23Pushed 12y ago10 watchersCompare

[ Source](https://github.com/johannes/JSMysqlndBundle)[ Packagist](https://packagist.org/packages/js/mysqlnd-bundle)[ Docs](https://github.com/johannes/JSMysqlndBundle)[ RSS](/packages/js-mysqlnd-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

JSMysqlndBundle
===============

[](#jsmysqlndbundle)

The JSMysqlndBundle is an extension to th Symfony2 profiling toolbar. It extends the data collection with information gathered from PHP's mysqlnd database driver, giving more insight on the performance.

[![Screenshot](https://camo.githubusercontent.com/e75dd4b9aabcbf502d9410f4523bcc7c0acfeef8abaa2baa3ec9d050d900756b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f34343336342f3239363133362f33376261643934322d393464642d313165322d396562362d6266633533386230373166392e706e67)](https://camo.githubusercontent.com/e75dd4b9aabcbf502d9410f4523bcc7c0acfeef8abaa2baa3ec9d050d900756b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f34343336342f3239363133362f33376261643934322d393464642d313165322d396562362d6266633533386230373166392e706e67)

Requirements
------------

[](#requirements)

For making use of this bundle you need Symfony2 running on a PHP setup where the mysqli extension is activated and mysqlnd is being used. The mysqli extension is only used to retrieve data. It is no requirement for your application to use to use mysqli. Applications using Doctrine and PDO are fully supported.

Installation
------------

[](#installation)

Installation is a quick process:

1. Download JSMysqlndBundle or install it via Composer
2. Configure the Autoloader
3. Enable the Bundle

### Step 1: Download JSMysqlndBundle

[](#step-1-download-jsmysqlndbundle)

Ultimately, the JSMysqlndBundle files should be downloaded to the `vendor/bundles/JS/MysqlndBundle` directory.

This can be done in several ways, depending on your preference. The first method is the standard method for Symfony 2.1+.

**Using Composer**

```
$ php composer.phar require "js/mysqlnd-bundle=v1.1.3"
```

Take a look at [the page on Packagist web site](https://packagist.org/packages/js/mysqlnd-bundle) for more details and up-to-date version numbers.

**Using the vendors script**

This method is the standard method for Symfony 2.0 Add the following lines in your `deps` file:

```
[JSMysqlndBundle]
    git=git://github.com/johannes/JSMysqlndBundle.git
    target=bundles/JS/MysqlndBundle

```

Now, run the vendors script to download the bundle:

```
$ php bin/vendors install
```

**Using submodules**

If you prefer instead to use git submodules, the run the following:

```
$ git submodule add git://github.com/johannes/JSMysqlndBundle.git vendor/bundles/JS/MysqlndBundle
$ git submodule update --init
```

### Step 2: Configure the Autoloader

[](#step-2-configure-the-autoloader)

This step should be omitted if you used Composer to install this Bundle.

Add the `JS` namespace to your autoloader:

```
