Laravel Modifier la demande de poste avant d'économiser

public function store(Request $request)
{
    $data = $request->all();
    $data['hostname'] = gethostbyaddr($_SERVER['REMOTE_ADDR'];

    Systems::create($data);
}
Fullstack Ninja