Skip to content


troydavisson edited this page · 17 revisions

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



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


Get Help

The best place to ask for help is in our Google Group


Note: These examples may not work in all cases depending on the features supported (and correctly implemented) by the RETS server

Quick Connection Tests

Data Downloads


View the list of functions

Code Snippets

Tips and Tricks

Something went wrong with that request. Please try again.