Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mhmmdkyr's avatar

Class Redis not found error in Docker

Hello. I don't get any errors when I do sail up -d. However, when I use the php artisan db:seed command, I get the error "Class "Redis" not found" in the console. What is the reason of this?

0 likes
2 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Its sail artisan db:seed

1 like
mhmmdkyr's avatar

Thank you so much. I didn't know it would run this way. I am grateful

Please or to participate in this conversation.