laravel use $loop in foreach code example Example: foreach in laravel foreach ($users as $user) { // stuff here }