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
Cool staff, Jean!
Do you want to publish it on Open Exchange?
Hi Evgeny
Sure, that sounds fun. I'll go have a look.
Available on Open Exchange! So fast!
Jean, could it be ported for InterSystems IRIS too?
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.
@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/libirisodbcur6435.so' : file not found
I'm confused in this part :
Thank you in advance
I think this error showing reason is you are not installed the odbc driver of Cache DB.
Please try to download it and install it, after that please try.
Download Locations
https://github.com/intersystems-community/iris-driver-distribution/tree/main/ODBC
Caché ODBC drivers are located here: ftp://ftp.intersystems.com/pub/cache/odbc/
InterSystems IRIS ODBC drivers -- here: ftp://ftp.intersystems.com/pub/iris/odbc/
Interesting ... Jean - do you have equivalent instructions to connect to IRIS instead of Cache' ?
Steve