PHPackages                             nathanklick/phrets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nathanklick/phrets

ActiveLibrary

nathanklick/phrets
==================

RETS library in PHP

1.0.4(11y ago)084PHPPHP &gt;=5.2.0

Since Nov 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/nathanklick/PHRETS)[ Packagist](https://packagist.org/packages/nathanklick/phrets)[ Docs](http://github.com/nathanklick/PHRETS)[ RSS](/packages/nathanklick-phrets/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (3)DependenciesVersions (12)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/32d8ecb6dcb527669139b71d7ddc1aae873968a298aed57c03c6b5830d723deb/68747470733a2f2f706f7365722e707567782e6f72672f6e617468616e6b6c69636b2f7068726574732f762f737461626c652e706e67)](https://packagist.org/packages/nathanklick/phrets) [![Total Downloads](https://camo.githubusercontent.com/f396dce8d466beb90b9b09d72f5b72d6744b79be3983440130cbae3e272f28f3/68747470733a2f2f706f7365722e707567782e6f72672f6e617468616e6b6c69636b2f7068726574732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/nathanklick/phrets) [![Latest Unstable Version](https://camo.githubusercontent.com/f7fb960eb429ed5c64aad9f0f03919af618ab6fadc207bac4fe6fac6b9881d89/68747470733a2f2f706f7365722e707567782e6f72672f6e617468616e6b6c69636b2f7068726574732f762f756e737461626c652e706e67)](https://packagist.org/packages/nathanklick/phrets) [![License](https://camo.githubusercontent.com/49a5815cd3c8981822214e22aa5626cc0b44f764e371710e95cdddeb299aa52d/68747470733a2f2f706f7365722e707567782e6f72672f6e617468616e6b6c69636b2f7068726574732f6c6963656e73652e706e67)](https://packagist.org/packages/nathanklick/phrets)

PHRETS
======

[](#phrets)

A simple, free, open source PHP library for using [RETS](http://rets.org).

PHP + RETS = PHRETS

Introduction
------------

[](#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
-------------------------

[](#post-support-for-searches)

Example:

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

```

Download
--------

[](#download)

**Install via Composer** - Add [nathanklick/phrets](https://packagist.org/packages/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](http://github.com/nathanklick/PHRETS)

Contribute
----------

[](#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
-------------

[](#documentation)

View our [GitHub Wiki](https://github.com/troydavisson/PHRETS/wiki) for documentation, code snippets, examples, tips &amp; tricks and more.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~167 days

Total

5

Last Release

4267d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0a81ff25673d858ab745e3e3aaf541af05e664fb6442a36e916c2a453c20856?d=identicon)[nathanklick](/maintainers/nathanklick)

---

Top Contributors

[![troydavisson](https://avatars.githubusercontent.com/u/318954?v=4)](https://github.com/troydavisson "troydavisson (28 commits)")[![nathanklick](https://avatars.githubusercontent.com/u/7484611?v=4)](https://github.com/nathanklick "nathanklick (12 commits)")[![lukeb](https://avatars.githubusercontent.com/u/126996?v=4)](https://github.com/lukeb "lukeb (2 commits)")[![doapp-pete](https://avatars.githubusercontent.com/u/1036197?v=4)](https://github.com/doapp-pete "doapp-pete (1 commits)")[![zxaos](https://avatars.githubusercontent.com/u/891202?v=4)](https://github.com/zxaos "zxaos (1 commits)")

---

Tags

retsmls

### Embed Badge

![Health badge](/badges/nathanklick-phrets/health.svg)

```
[![Health](https://phpackages.com/badges/nathanklick-phrets/health.svg)](https://phpackages.com/packages/nathanklick-phrets)
```

###  Alternatives

[troydavisson/phrets

RETS library in PHP

463355.6k](/packages/troydavisson-phrets)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
