July 2018
Intermediate to advanced
420 pages
8h 46m
English
It's now time to configure our database. If you use Homestead, you probably have your database connection configured and working well. To check, open your Terminal and type the following command:
php artisan tinker DB::connection()->getPdo();
If everything goes well, you will see the following message:

For this example, however, we are using Docker, and we need to do some configuration to accomplish this task:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 ...
Read now
Unlock full access