Disabling Laravel Scout in test environmentSeptember 13, 2016
Laravel Scout also supports a "null" driver which would fit the bill perfectly, but theres a bit of an issue when trying to set the
null using an environment variable. It seems like Laravel converts the string "null" to be literally
null and then the Scout engine fails to load at all.
In the meantime, I've just set the default driver in my
config/scout.php to be
null and then set
SCOUT_DRIVER=algolia in my production environment. However once that issue has been looked at, it should be as simple as setting
SCOUT_DRIVER=null (or whatever other name they come up with) in your
.env file or other configuration.