Almost every php files inside config folder has this function here -> env(). This function take 2 parameters like so :
'driver' => env('MAIL_DRIVER', 'smtp')
I know that the first parameter is to get the right line, but what's the meaning of the second parameter : smtp? I already provided the mail driver inside my .env file but I can't get it why is there 'smtp' inside env()
I looked around and nothing is talking about this. Thanks!