How to call method inside the controller?

Posted 9 months ago by AquinoBR

Yesterday I made a post asking how to integrate the class of BlockIo in Laravel. I was able to install via composer and do this procedure. But I can not call the external class methods inside my existing controller at all. Could someone show me how to call a method inside the controller? I think the problem is in linking the install class to the controller. Thanks for any reply.

Installed package and tutorial:

I did all procedure until Publish Vendor.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.