Skip to content

PHP client library for interacting with a RETS server to pull real estate listings, photos and other data made available from an MLS system

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE.md
GPL-2.0
LICENSE.txt

nathanklick/PHRETS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads Latest Unstable Version License

PHRETS

A simple, free, open source PHP library for using RETS.

PHP + RETS = PHRETS

Introduction

PHRETS provides PHP developers a way to integrate RETS functionality directly within new or existing code. A standard class of functions is made available to developers to connect and interact with a server much like they would with other APIs.

PHRETS handles the following aspects of RETS communication for you:

  • Response parsing (for other non-XML responses such as HTTP multipart)
  • XML Parsing
  • Simple variables and arrays returned to the developer
  • RETS communication (over HTTP)
  • HTTP Header management
  • Authentication
  • Session/Cookie management
  • POST Support for Searches

POST Support for Searches

Example:

$rets = new phRETS;
$options = array("UsePost" => 1);
$results = $rets->Search("PROPERTY", "RES", "(LISTSTATUS=|ACT)", $options);

Download

Install via Composer - Add nathanklick/phrets to your composer.json file, run composer update and you're set.
Manual Download - The source code for PHRETS is available on GitHub

Contribute

PHRETS is maintained in a public Git repository on GitHub. Issue submissions and pull requests are encouraged if you run into issues or if you have fixes or changes to contribute.

Documentation

View our GitHub Wiki for documentation, code snippets, examples, tips & tricks and more.

About

PHP client library for interacting with a RETS server to pull real estate listings, photos and other data made available from an MLS system

Resources

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE.md
GPL-2.0
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%