How-to articles, tricks, and solutions about RELATION
Laravel Eloquent Sum of relation's column
You can use the sum method on an Eloquent relation to get the sum of a column's values.