1

I have downloaded a library (not a Yii core extension). I want to add this libray to Yii framework 2.0.

I have read this article under the section "Installing Extensions Manually" but I could not get it to work. Below is the structure of my downloaded library:

\mandrill
   \mandrill
       \src
           Mandrill.php

The Mandrill class lives in Mandrill.php and does not have a namespace. How can I add this library to Yii framework 2.0 and how to register this library's class manually?

Paul Roub
  • 36,322
  • 27
  • 84
  • 93
O Connor
  • 4,236
  • 15
  • 50
  • 91
  • 1
    Check [this](http://stackoverflow.com/questions/30480329/install-yii2-extension-manually-without-using-composer/30480565#30480565) and [this](http://stackoverflow.com/questions/28128117/using-classes-without-namespace-with-yii2/28128493#28128493) answers. – arogachev Aug 08 '15 at 05:16

0 Answers0