1// Include the other controller in this controller
2use App\Http\Controllers\TasksController;
3
4// Instantiate other controller class in this controller's method
5$tasks_controller = new TasksController;
6// Use other controller's method in this controller's method
7$tasks_controller->postNotification($comment_content, $author);
8
1// Include the other controller in this controller
2use App\Http\Controllers\TasksController;
3
4// Instantiate other controller class in this controller's method
5$tasks_controller = new TasksController;
6// Use other controller's method in this controller's method
7$tasks_controller->postNotification($comment_content, $author);
1Just try this in your view :
2
3{{ ControllerName::Functionname($params); }}
4OR
5
6<?php echo ControllerName::Functionname($params);?>