laravel permit only some inputs code example Example: laravel permit only some inputs $request->only(['field1', 'field2', 'field3'])