Laravel News
Follow
Laravel Configuration Arrays Made Simpler with Config::collection()
Laravel 12's Config::collection() method returns configuration arrays as Collection instances directly, removing the need to manually wrap arrays with collect() for fluent manipulation of structured configuration data.