How to use a function of another controller in laravel?

here you will learn to call a function from another controller

Infinitbility
Infinitbility
2 min readJun 1, 2020

--

Original Post on infinitbility platform

If you are stuck calling function from another controller, relax you will definitely get a solution from this article.

If you want to use controller function please follow the business logic structure of laravel. sometimes it’s the reason of memory leak and security issue. I will never recommend using this method on your project.

here I will share two controllers to easily understand the calling a function from another controller.

Solution move to infinitbility platform click below link to access

please clap and share articles on social networks if you get help…

More Form Infinitbility

--

--