Dapatkan URL saat ini dalam pengontrol di Laravel
//get current url
use Illuminate\Support\Facades\Route;
Route::getFacadeRoot()->current()->uri();
//get current full url
$url = url()->current();
Isaac