I\'m trying to do a very simple:
require_once \'vendor/google/src/Google/Client.php\'; require_once \'vendor/google/src/Google/Service/Plus.php\';
Above didn't work for my WordPress plugin, but I managed to solve it like this:
In Client.php before require_once block add:
Client.php
require_once
set_include_path( plugin_dir_path( __FILE__ ) . '../' );
Hope it helps.