Closed fauzie closed 3 years ago
Hi @fauzie
Based on the information you provide, I think you'll need to specify the DIBI_DB_CONNECTION
value to point to your database connection name in your .env
file.
For example, in your case, add to the .env
file:
DIBI_DB_CONNECTION=mydb
I am using mysql driver with custom connection name (not
mysql
). my config/database.phpJust installing with
composer require cuonggt/laravel-dibi
And show this error on shell, and installation failed.It is because of laravel auto discovery, i did a trick to add
cuonggt/laravel-dibi
todont-discover
in composer.json But still i need to install manual, copy a provider & config files.it was strange to check database connection on service provider registration :cry: