Config folder contains one of the important files in laravel.it contains main setting for your laravel application for example database connection , Api keys ,queue etc.
config returns an array .to access an array we need to use config key with file name
and descendant key separate by dot(.) For example if you have config file as //config/socialname.php
<?php return [ ‘social’ => [ ‘facebook_username’ => ‘john doe’ ,