nayjest / laravel-doctrine-dbal
Doctrine DBAL integration for Laravel
Installs: 7 339
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-12-17 23:43: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.