This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

phplee
phplee

How do u use plugin vendor in my component.

eg. use \PluginAuthor\ComponentName\Vendor\Stripe\Stripe;
igor-tv41025
igor-tv41025

Can you describe the problem in more detail?

phplee
phplee

Im trying to use stripe/stripe-php package in my component. ive installed it via composer which has put in my plugin vendor directory. now how do u 'use' it in my component.

thanks

daftspunky
daftspunky

Once installed via composer it should be added to the class auto loader automatically and you can reference the namespace and class from there.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.