PHRETS is a PHP client library for interacting with a RETS server to pull real estate listings, photos and other data made available from an MLS system.
PHRETS provides PHP developers a way to integrate RETS functionality directly within new or existing code by handling the following aspects for you:
- Response parsing (XML, HTTP multipart, etc.)
- Simple variables, arrays and objects returned to the developer
- RETS communication (over HTTP)
- HTTP Header management
- Authentication
- Session/Cookie management
Installation
The easiest way to get started is using Composer to install troydavisson/phrets:
{
"require": {
"troydavisson/phrets": "2.*"
}
}
There is more information available about PHRETS at the project's Github site, including additional installation instructions and examples for common use.