wie man einen Helfer weltweit Laravel teilen
require_once app_path('Helpers/AnythingHelper.php');
Fragile Fish
require_once app_path('Helpers/AnythingHelper.php');
'App\Providers\HelperServiceProvider',
<?php
function getDomesticCities()
{
$result = \App\Package::where('type', '=', 'domestic')
->groupBy('from_city')
->get(['from_city']);
return $result;
}