MacFJA / php-redisearch

PHP Client for RediSearch
MIT License
66 stars 9 forks source link

Issue in integrating php-redisearch with laravel 8 #18

Closed mahendran-kcube closed 2 years ago

mahendran-kcube commented 2 years ago

I have installed the plugin MacFJA/php-redisearch using the following command

composer require macfja/redisearch

And I imported as like below in laravel

image

and

image

Issue :

image

Can someone help me to resolve it

NicoHaase commented 2 years ago

This is also discussed on https://stackoverflow.com/questions/69820273/issue-in-integrating-php-redisearch-with-laravel-8

MacFJA commented 2 years ago

The MacFJA\RediSearch\Redis\Client\ClientFacade only exist on the main branch (future version 2.x of the lib, dev-main version in composer).

The installed version by composer (composer require macfja/redisearch) is at most the version 1.4.0.


The new version 2.x should be available soon, I have same check to do to ensure that the lib is working correctly

MacFJA commented 2 years ago

BTW, thanks @NicoHaase for the answers on StackOverflow 👍