Issue With RETS Data Fetching Feed in PHP
<p>I am using the PHRETS PHP library to fetch the RETS data from the rets API. I have and issue with getting the Data. It's giving me the Requested Class not found Error. Please help to solve this Error. My Code is: </p>

<pre><code>date_default_timezone_set('America/New_York');

require_once("vendor/autoload.php");

$log = new \Monolog\Logger('PHRETS');
$log-&gt;pushHandler(new \Monolog\Handler\StreamHandler('php://stdout', \Monolog\Logger::DEBUG));



$config = new \PHRETS\Configuration;
$config-&gt;setLoginUrl('http://rets.navicamls.net/login.aspx')
        -&gt;setUsername('xxx')
        -&gt;setPassword('xxx')
        -&gt;setRetsVersion('1.7.2');

$rets = new \PHRETS\Session($config);
$rets-&gt;setLogger($log);

$connect = $rets-&gt;Login();


if ($connect) {
 echo "Connected!&lt;br&gt;";
}
else {
 echo "Not Connected!&lt;br&gt;";
 print_r($rets-&gt;Error());
 exit;
}


//results consists of Property, class, and query
$results = $rets-&gt;Search(
    "Property",
    "A",
    "*",
    [
        'QueryType' =&gt; 'DMQL2',
        'Count' =&gt; 1, // count and records
        'Format' =&gt; 'COMPACT-DECODED',
        'Limit' =&gt; 10,
        'StandardNames' =&gt; 0, // give system names
    ]
);

print_r($results); exit;
</code></pre>