if the incoming request is http://mydoubts.in/admin/login
$uri=$request->path();
this will return admin/login
is method verify the incoming request path matches the given pattern.we can use * character for this
if($request->is(‘admin/*’))
{
}
if the incoming request is http://mydoubts.in/admin/login
$uri=$request->path();
this will return admin/login
is method verify the incoming request path matches the given pattern.we can use * character for this
if($request->is(‘admin/*’))
{
}