Laravel meminta semua kecuali
$request->only('username', 'password');
or
$request->except('_method', '_token');
muchlisoft
$request->only('username', 'password');
or
$request->except('_method', '_token');
public function __construct()
{
$this->middleware('auth')->except(['index','show']);
}
$request->input('name');
$request->input('user.name'); // fetch from user object