Written by

Announcement 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 https://github.com/jeandormehl/laracache

Thanks in advance

Comments

Jean Dormehl  Dec 6, 2018 to Evgeny Shvarov

Hi Evgeny

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

0
oliver russell · Mar 25, 2019

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: https://www.cloudways.com/blog/integrate-laravel-cache/ ). So what did you do in this package? Can you give some information here.

0
John Murray  Mar 25, 2019 to oliver russell

@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.

0
Pri Atmoko · Jun 28, 2022

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/libirisodbcur6435.so' : file not found

I'm confused in this part :

# create the symlink
sudo ln -s /usr/lib/x86_64-linux-gnu/libodbccr.so.2.0.0 /usr/lib/x86_64-linux-gnu/odbc/libodbccr.so

Thank you in advance

0
Steve Pisani · Aug 16, 2022

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

Steve

0