PHP code example of biohzrdmx / bimini-php

1. Go to this page and download the library: Download biohzrdmx/bimini-php 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/ */

    

biohzrdmx / bimini-php example snippets


$path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'output';
$storage = new FileSystemStorage($path);
$bimini = new Bimi($storage);

$ret = $bimini->hasRecord('example.com');

$record = $bimini->getRecord('example.com');

if ( $record->hasLogo() ) {
    $url = $record->getLogo();
}