Answers for "how to set config varaiables laravels"

PHP
0

Laravel - How to create custom configuration variables and access

echo $recordPerPage = config('common.noOfRecords');
Output - 8
Posted by: Guest on May-07-2021
0

Laravel - How to create custom configuration variables and access

echo $applicationName = config('common.applicationName', 'Placement Question');
Output - Placement Question
Posted by: Guest on May-07-2021

Browse Popular Code Answers by Language