Good evening.

I am developing a portal on yii2 basic and it became necessary to download a third-party library, put it through the composer, everything seems to be ok.

How to call her now? No matter how I tried, yii doesn't see her.

Autoload composer'a in the input file is present.

Tell me please.

    1 answer 1

    if the autoloader has loaded the class, then just use then do it in the right place and that's it. Check just in case vendor \ composer \ autoload_real.php for the presence of the required class.