Answers for "call controller function in blade view laravel"

PHP
0

laravel call controller method from view

Just try this in your view :

{{ ControllerName::Functionname($params); }}
OR

<?php echo ControllerName::Functionname($params);?>
Posted by: Guest on November-28-2020
0

laravel call controller method from another controller

return \App::call('bla\bla\ControllerName@functionName');
Posted by: Guest on April-19-2020

Code answers related to "call controller function in blade view laravel"

Browse Popular Code Answers by Language