Retrieve Partial Input

$input = $request->only(['username', 'password']);
$input = $request->only('username', 'password');
$input = $request->except(['credit\_card']);
$input = $request->except('credit\_card');
Comments