xxxxxxxxxx
echo $applicationName = config('common.applicationName', 'Placement Question');
Output - Placement Question
xxxxxxxxxx
echo $recordPerPage = config('common.noOfRecords');
Output - 8
xxxxxxxxxx
<?php
// config/common.php
return [
'noOfRecords' => 8,
];