1. Go to this page and download the library: Download wefabric/real-eztat library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wefabric / real-eztat example snippets
use Wefabric\RealEztat\Services\RealEztatService;
$realEztatService = new RealEztatService();
$objects = $realEztatService->get('api/objects/filter');
foreach ($objects['data'] as $object) {
echo $object['title'] . "\n";
}
use Wefabric\RealEztat\Endpoints\NewConstructionProject;
$newConstructionProject = new NewConstructionProject();
$projects = $newConstructionProject->get();
foreach ($projects['data'] as $project) {
echo $project['title'] . "\n";
}