laravel environment windows code example
Example 1: how to install laravel
composer global require "laravel/installer=~1.1"
Example 2: setting up environment for laravel windows
'mysql' => [
'read' => [
'host' => [
'192.168.1.1',
'196.168.1.2',
],
],
'write' => [
'host' => [
'196.168.1.3',
],
],
'sticky' => true,
'driver' => 'mysql',
'database' => 'laravel',
'username' => 'root',
'password' => 'THE ONE YOU CREATED THE USER WITH',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
],