'Laravel Eloquent/DB: Multiple sum fields in grouped select

Is there any possibility to do the following simple sql-select in Laravel?

SELECT a,b,c,d, SUM(e) as e, SUM(f) as f, SUM(g) as g FROM my_table GROUP BY a,b,c,d



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source