laravel eloquent decrement code example
Example: laravel eloquent increment
Customer::find($customer_id)->increment('loyalty_points');
// increment by 20
Customer::find($customer_id)->increment('loyalty_points',20);
Customer::find($customer_id)->increment('loyalty_points');
// increment by 20
Customer::find($customer_id)->increment('loyalty_points',20);