add data to controller route url in laravel code example Example: laravel use url use Illuminate\Support\Facades\URL; echo URL::current();