app url laravel code example
Example 1: get app url in laravel
URL::to('/');
Example 2: get env app url laravel
env('APP_URL')
Example 3: laravel use url
use Illuminate\Support\Facades\URL;
echo URL::current();
URL::to('/');
env('APP_URL')
use Illuminate\Support\Facades\URL;
echo URL::current();