Download the PHP package reso/reso-php without Composer
On this page you can find all versions of the php package reso/reso-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download reso/reso-php
More information about reso/reso-php
Files in reso/reso-php
Informations about the package reso-php
Overview
The goal of this library is to allow developers to make basic Web API requests using HTTP and OAuth2. Those who need to parse OData metadata will need to add additional handling for the OData XML Metadata format.
See RESO's Web API Core specification for more information about which queries servers should support.
Note that RESO is not currently maintaining this codebase, but contributions are welcome. Please open a pull request and it will be reviewed and merged.
RESO WebAPI Client PHP SDK
The RESO WebAPI Client PHP SDK for PHP allows developers to build applications with RESO API queries for listing data retrieval. For more information on the Real Estate Standards Organization (RESO) please visit www.reso.org or contact RESO Developers FAQ.
Specific questions about this repository should be posted to the 'Issues' section with the Issue Template.
Requirements
PHP 5.3.3 and later.
Composer
You can install the bindings via Composer. Run the following command:
To use the bindings, use Composer's autoload:
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
Dependencies
The following PHP extensions are required for all the RESO WebAPI Client PHP SDK functions to work properly:
If you use Composer, these dependencies will be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
Simple usage looks like:
Example apps
Several usage examples are provided in the examples/
folder:
cli-example
- provides a sample console application to query RESO API data;web-example
- provides a sample PHP + HTML application to login (auth done on server-side) and execute RESO API requests, retrieve the data;web-callback-example
- provides a sample PHP application, which demonstrates the user auth using callback URL.
To configure the example app variables / settings - copy the config.php file in each example application as _config.php and edit the variables accordingly.
Configuring a Logger
The SDK has a built-in logger for debug / testing purposes. Usage:
Unit Tests
The SDK code set contains PHPUnit tests. The tests reside in the tests/
folder and covers core RESO WebAPI Client PHP SDK functionality testing.
To run the tests duplicate the tests/config.php file to tests/_config.php and set the appropriate API variables. Then, execute:
Contributing
Please read the contributing guidelines if You are interested in contributing to the project.
All versions of reso-php with dependencies
ext-json Version *
ext-dom Version *
ext-mbstring Version *
php Version >=5.6