the Composer autoloader does not find the "vendor" dir under the "lib". ...

...You need to require the Resty libs too