Published in


How to use a function of another controller in laravel?

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



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store