Millan Singh
1 min readSep 4, 2020

--

If you're trying to call a controller method from another controller, you've done something wrong. Laravel is flexible, so your approach should be to extract the business logic out of the controller and put it into a different class, in a different folder, that you can pull into your controllers. Think something like the Repository pattern.

--

--

Millan Singh
Millan Singh

Written by Millan Singh

Professional Tinkerer, Creative Entrepreneur, and practitioner of A Hero’s Journey. Follow me for tech, crypto, finance, and personal development.

Responses (1)