Skip to content

A small PHP library to interface with the Experian QAS postcode search service

License

Notifications You must be signed in to change notification settings

krakerag/experian-qas

Repository files navigation

experian-qas - PHP library to interface with Experian QAS

Build Status

This library is designed to provide a class interface to the Experian QAS postcode search product.

It is built with the SOAP Pro Web product in mind and tested with GBR datasets primarily.

Experian QAS can be found via http://www.qas-experian.com.au/ or http://www.qas.co.uk/

Installation

Install via composer by installing this repo or via Packagist - https://packagist.org/packages/krakerag/experian-qas

Usage

use \krakerag\ExperianQas\PostcodeSearch\PostcodeSearch;
use \krakerag\ExperianQas\PostcodeSearch\Engine;

$wsdl = 'http://yourserver:2021/proweb.wsdl';

$engine = new Engine();
$search = new PostcodeSearch(new \Psr\Log\NullLogger(), $wsdl); // Or a proper logger in place
$search->setEngine($engine);

$results = $search->find('GBR','SW40QB');

var_dump($results); // etc

The engine object ships with sensible settings for working with UK postcode searches.

You can tailor this in any fashion that matches varibles designed to work with the WSDL, for example:

$engine = new Engine;
$engine->setEngine('Keyfinder');
$engine->setIntensity('Close');
// etc

About

Requirements

  • PHP 5.3 or higher
  • [optional] PHPUnit 3.5+ to execute the test suite (phpunit --version)

Submitting bugs and feature requests

Bugs and feature requests are tracked on GitHub

Author

Matthew Hallsworth - [email protected]

License

This is licensed under the MIT License - see the LICENSE.txt file for details

About

A small PHP library to interface with the Experian QAS postcode search service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages