Make function controller laravel code example
Example: How to use function in controller in blade
{{ ControllerName::Functionname($params); }}
OR
<?php echo ControllerName::Functionname($params);?>
{{ ControllerName::Functionname($params); }}
OR
<?php echo ControllerName::Functionname($params);?>