Laravel with Heroku Redis and SSL
Redis 6.x appears to require SSL for connections and that's a problem with Heroku. Heroku does have documentation on how to get around errors with self-signed cerificates but it falls short of addressing the solution specifically for Laravel apps.
config/database.php under the
redis key you can control the options for your Redis connection. Here you can add a
context which sets
false so that the certificate issues are ignored. In the code below I've only applied these options in the production environment as it's not a concern for my local environment.