get url from app php in laravel controller code example Example: get app url in laravel URL::to('/');