You can update the field using something like this:
$customer = Customer::find(1);
if($customer->delete()) {
DB::table('customer')->where('id', $customer->id)
->update(array('deleted_by' => 'SomeNameOrUserID'));
}
Alternatively, you can do this in a single request:
$ts = Carbon\Carbon::now()->toDateTimeString();
$data = array('deleted_at' => $ts, 'deleted_by' => Auth::user()->id);
DB::table('customer')->where('id', $id)->update($data);
Both are executed as part of a single request softDeleteand are recorded deleted_by.
source
share