Type d'identité Laravel
$table->foreignId('user_id') // UNSIGNED BIG INT
->references('id')
->on('users');
NachooCh
$table->foreignId('user_id') // UNSIGNED BIG INT
->references('id')
->on('users');
<input type="number" name="function_count[{!! $item->id !!}]" value="" />
$inputs = $request->input('function_count');
foreach($inputs as $id=>$value){
// $id being the content of $item->id
// $value being the content of value=""
}