Redis driver for FreeScout
Find a file
2025-08-21 15:54:18 -05:00
Http first commit 2025-08-19 16:03:10 -05:00
Providers documentation 2025-08-19 16:15:47 -05:00
Public first commit 2025-08-19 16:03:10 -05:00
Services first commit 2025-08-19 16:03:10 -05:00
composer.json first commit 2025-08-19 16:03:10 -05:00
LICENSE first commit 2025-08-17 14:23:16 -05:00
module.json rename repo 2025-08-21 15:54:18 -05:00
README.md documentation 2025-08-19 19:04:29 -05:00
start.php first commit 2025-08-17 14:23:16 -05:00

FreeScout Redis Driver

Enable Redis caching and queues for FreeScout.

Inspired by #4650.

Installation

  • Ensure Redis server is installed.
  • Ensure phpredis (not predis) module for PHP is installed. (Both PHP-FPM and the PHP cli!)
  • Double-check your Redis settings in config/database.php. It must use phpredis, not predis.
  • Add to your .env:
    CACHE_DRIVER=redis
    CACHE_PREFIX=freescout
    QUEUE_DRIVER=redis
    # Session drivers in FreeScout appear to be broken or incompatible with PHP 8. Only file and database drivers work.
    # SESSION_DRIVER=redis
    
  • Activate the Redis Driver module.
  • Run php artisan freescout:clear-cache.

PHP Warning!

When using PHP 8.4 you will see deprecation warnings, even when you have those disabled! This will interfere with your mail fetching!

This is a bug specific to PHP 8.4: https://github.com/php/php-src/issues/17422

Please use PHP 8.1-8.3 or 8.5+.

Verify

You may start redis-cli and run KEYS freescout:* to check that the redis cache is being used.

FAQ

  • Why phpredis, not predis? Using phpredis requires us to install a driver in PHP only. This removes the maintenance burden that comes with adding predis to FreeScout.