Format de devise à Laravel

Blade::directive('currency', function ($expression) {
  return "<?php echo number_format($expression,0,',','.'); ?>";
});
Muhammad Ariq Rafi