laravel-settings icon indicating copy to clipboard operation
laravel-settings copied to clipboard

Function to get some settings

Open monster010 opened this issue 1 year ago • 1 comments

Heyho,

a function to preserve some not all settings would be nice. As a function parameter simply an array with the keys and you get back an array with the keys and the values.

Example:

<?php

$settings = settings()->only('site_name', 'site_url', 'site_xyz'...)

Kind regards

monster010 avatar Aug 22 '23 20:08 monster010