Answers for "Customer::insert([ 'customer_name' => $request->customer name, 'customer mobile'=> $request->customer mobile, 'user_id'=>Auth::user()->id, 'created_at'=> Carbon::now() ]);"

PHP
8

laravel auth user_id

$userId = Auth::id();
Posted by: Guest on May-12-2020

Code answers related to "Customer::insert([ 'customer_name' => $request->customer name, 'customer mobile'=> $request->customer mobile, 'user_id'=>Auth::user()->id, 'created_at'=> Carbon::now() ]);"

Browse Popular Code Answers by Language