My laravel eloquent is like this :
$products = Product::where(\'status\', 1) ->where(\'stock\', \'>\', 0) ->where(\'category
set
'strict' => false
in your config/database.php file. In array connections => mysql =>
connections => mysql =>
in my case I'm using mysql 5.7 Laravel 5.7