Answers for "call to controller in laravel from web.php"

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 to controller in laravel from web.php"

Browse Popular Code Answers by Language