krakerag / experian-qas
Experian QAS library for Postcode search
Installs: 4 177
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
- psr/log: >=1.0,<2.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-09 14:47:51 UTC
README
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 - matthew.hallsworth@gmail.com
License
This is licensed under the MIT License - see the LICENSE.txt
file for details