filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
18.72k stars 2.91k forks source link

Filament 3.2 installation returns error Class Redis not found when .env configured as CACHE_STORE=redis #13160

Closed abetterlogic closed 4 months ago

abetterlogic commented 4 months ago

Package

filament/filament

Package Version

v3.2

Laravel Version

11.10

Livewire Version

No response

PHP Version

PHP 8.2

Problem description

Filament installation gives error while installing and setting .env CACHE_STORE=redis

Screenshot 2024-06-09 at 11 43 51 AM

Expected behavior

Installation process should be seamless.

Steps to reproduce

keep .env CACHE_STORE=redis and try installing through command composer require filament/filament:"^3.2" -W

Reproduction repository

https://github.com/abetterlogic/abl-plm-sbm-slsabl

Relevant log output

No response

Donate 💰 to fund this issue

Fund with Polar

danharrin commented 4 months ago

This is not a Filament issue, this is an issue running commands while your app is not configured correctly, you can see in the stack trace that its coming from the TelescopeServiceProvider. You need to set up Redis properly before you can use Redis.