nayjest/laravel-doctrine-dbal

Doctrine DBAL integration for Laravel

v1.0.1 2015-03-18 18:32 UTC

This package is auto-updated.

Last update: 2021-04-17 16:12:52 UTC


README

Doctrine DBAL integration for Laravel

Overview

nayjest/laravel-doctrine-dbal package provides:

  • Doctrine DBAL connection based on your default Laravel DB connection, initialized by same PDO connection object
  • Facade for default Doctrine DBAL connection
  • SQL queries logging setup. Queries executed via Doctrine DBAL will be present in DB::getQueryLog() and "Queries" tab of barryvdh/laravel-debugbar

Installation

Via Composer

  • Run following command:
composer require nayjest/laravel-doctrine-dbal
  • Register Nayjest\LaravelDoctrineDBAL\ServiceProvider in your application configuration file

  • Add facade alias:

    'DBAL' => 'Nayjest\LaravelDoctrineDBAL\Facade',

Testing

Run following command:

phpunit

License

© 2014 — 2015 Vitalii Stepanenko

Licensed under the MIT License.

Please see License File for more information.