2017 © Pedro Peláez
 

library blm

Rightmove BLM Parser

image

matt-cannon/blm

Rightmove BLM Parser

  • Tuesday, July 21, 2015
  • by mattcannon
  • Repository
  • 2 Watchers
  • 6 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 7 Versions
  • 8 % Grown

The README.md

MattCannon\Blm

Rightmove BLM parser for PHP - Please see (http://mattcannon.github.io/rightmove/)[http://mattcannon.github.io/rightmove/], (*1)

Current Status

  • Master:Build Status
  • Develop:Build Status

Requirements

  • PHP 5.4+

Installation

Composer

To install this package using composer, run: composer require matt-cannon/blm:0.2.*, (*2)

Usage

To use the parser you should create a new instance of the Parser class, then set the BLM contents, or pass in a file path to a BLM. To access the data in the BLM, you should call parseBlm()., (*3)

```php $adapter = new \League\Flysystem\Adapter\Local('/data/'); $loader = new BlmFileLoader(new League\Flysystem\Filesystem($adapter),'BlmFile.blm'); $parser = new \MattCannon\Blm\Parser(new \Psr\Log\NullLogger(),$loader); $data = $parser->parseBlm();, (*4)

foreach($data as $property){ var_dump($property); } ```, (*5)

You can access the property attributes like so:, (*6)

<?php
$property = $collection->first();
echo $property->displayAddress;
echo $property->price;

Public API

To see a full list of all public methods, please look at the interface files in src/MattCannon/Blm/Interfaces - if a method isn't listed in these files, then it may disappear or change it's behavior without notice., (*7)

The Versions

21/07 2015
10/12 2014
16/05 2014

0.1.1

0.1.1.0

Rightmove BLM Parser

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Cannon

16/05 2014

0.1.0

0.1.0.0

Rightmove BLM Parser

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Cannon