I'm having the same issue. I was hoping to find a more... elegant solution that still worked with the Laravel ecosystem. The best I have found so far is to use Doctrine (which has IBM DB2 support) instead of Eloquent. So far I have found this, but haven't tried implementing it yet:
I've never used db2 but i guess the easiest would be to write a laravel driver so you can easily use db2 along with Eloquent.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community