PHP code example of citywebconsultants / blm

1. Go to this page and download the library: Download citywebconsultants/blm library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

citywebconsultants / blm example snippets


 $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);
 }
 


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