Support the ongoing development of Laravel.io →
Authentication Database Architecture
Last updated 2 years ago.
0

Ok, maybe my question was not clear. Is any clean way to use different database library in Laravel? (in my case it is Dibi)

Last updated 2 years ago.
0

I believe yes you can do that. check the Laravel\Framework\src\Illuminate\Database\DatabaseServiceProvider in vendor directory. Laravel have manager which handles some of the crucial functionality. look at DatabaseManager class in same directory. I believe you have enough knowledge to do that. once you define your custom structure that matches interface given databasemanager you can hook up your library via service provider in app/config/app.php -> service providers array.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.