Ok, maybe my question was not clear. Is any clean way to use different database library in Laravel? (in my case it is Dibi)
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community