I download from https://github.com/luciddreamz/laravel Laravel for openshift then upload over my repository over github. This code for connect to database not work. The prob
Check your DB_HOST on your .env file
DB_HOST
.env
DB_HOST=http://localhost/ --> DB_HOST=localhost
php artisan config:clear it will help you, clear cached config
php artisan config:clear