I need to use this Git project in my plugin.
First I drop source code in a folder, and load it with
require_once dirname(__FILE__) . '/vendor/Frozensheep/RightmoveADF/RightmoveADF.php';
But there is a problem, because although apparently one Class (for instance GetBranchPropertyList
) is loaded by the namespace use:
//
use Frozensheep\RightmoveADF\Request\GetBranchPropertyList;
//
I get an error when invoke the class:
//
return new GetBranchPropertyList();
//
Fatal error: Uncaught Error: Class 'Frozensheep\RightmoveADF\Request\GetBranchPropertyList' not found
The project includes a composer.json, which I think is what I need to install and configure, but I have no idea how to use it.
Can someone explain me step by step how to proceed with composer.json config?