Jean Dormehl · Dec 6, 2018

InterSystems Cache with Laravel (Eloquent) using ODBC

Hi Community

I have created a simple package that allows the use of Cache with the Laravel Framework.

From my initial testing everything seems to be operating smoothly but I would like to appeal to the PHP users in the community to help me improve this package.

For those of you out there who have time and would be interested in this, please visit the repo at

Thanks in advance

3 775
Discussion (8)3
Log in or sign up to continue

Hi Evgeny

Sure, that sounds fun. I'll go have a look.

Doesn't Laravel already has its own Cache system? It has a great package for using caching. Additionally, if you want, you can also use memcached for database caching and varnish in Laravel (Source: ). So what did you do in this package? Can you give some information here.

@oliver russell I think you are confusing the name of an InterSystems product (Caché) with the term 'cache'. Easy mistake to make, ever since InterSystems released Caché a couple of decades ago.

Hi Jean,

Need a help, I try to connect my laravel web app to intersystem cache  using this package but  still not working.

Error Message :

SQLSTATE[01000] SQLDriverConnect: 0 [unixODBC][Driver Manager]Can't open lib '/usr/lib/intersystems/odbc/bin/' : file not found

I'm confused in this part :

# create the symlink
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/odbc/

Thank you in advance

Interesting ... Jean - do you have equivalent instructions to connect to IRIS instead of Cache' ?