Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel call controller method from view

Just try this in your view :

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

<?php echo ControllerName::Functionname($params);?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #call #controller #method #view
ADD COMMENT
Topic
Name
2+1 =