xxxxxxxxxx
// create a class and return
return [
'options' => [
'option_attachment' => '13',
'option_email' => '14',
'option_monetery' => '15',
'option_ratings' => '16',
'option_textarea' => '17',
]
];
// call it to any other class or file
config('constants.options');
// or if you want a specific one
config('constants.options.option_attachment');