url(App::getLocale() . '/')
or
url(Config::get('app.locale') . '/')
https://laravel.com/docs/5.3/helpers#method-url
This will print current active url
echo url()->current();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community