PHPackages                             citywebconsultants/blm - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. citywebconsultants/blm

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

citywebconsultants/blm
======================

Rightmove BLM Parser

0.2.2(11y ago)06MITPHPPHP &gt;=5.4.0

Since May 16Pushed 5y agoCompare

[ Source](https://github.com/CityWebConsultants/Blm)[ Packagist](https://packagist.org/packages/citywebconsultants/blm)[ RSS](/packages/citywebconsultants-blm/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (7)Versions (7)Used By (0)

\#MattCannon\\Blm Rightmove BLM parser for PHP - Please see ([http://mattcannon.github.io/rightmove/)\[http://mattcannon.github.io/rightmove/\]](http://mattcannon.github.io/rightmove/)%5Bhttp://mattcannon.github.io/rightmove/%5D)

\##Current Status

- Master:[![Build Status](https://camo.githubusercontent.com/557c5a8fc7a363b90284c97c556f4b9877cbffc8691d75942c20299c9f0d4a28/68747470733a2f2f7472617669732d63692e6f72672f6d61747463616e6e6f6e2f426c6d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mattcannon/Blm)
- Develop:[![Build Status](https://camo.githubusercontent.com/5ad22f41e2a0852740e3883e6362774d3a166a4e0eef8f01689ce77e12fc1c14/68747470733a2f2f7472617669732d63692e6f72672f6d61747463616e6e6f6e2f426c6d2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/mattcannon/Blm)

\##Requirements

- PHP 5.4+

\##Installation ###Composer To install this package using composer, run: `composer require matt-cannon/blm:0.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()`.

```
$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();

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

You can access the property attributes like so:

```
