Answers for "laravel how to call controller"

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 "laravel how to call controller"

Browse Popular Code Answers by Language