PHP code example of alchemy / mediavorus

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

    

alchemy / mediavorus example snippets


use MediaVorus\MediaVorus;
use MediaVorus\Media\Image;

$mediavorus = MediaVorus::create();

$image = $mediavorus->guess('RawCanon.cr2');

echo sprintf("Photo as been taken with a %s Shutter Speed", $Image->getShutterSpeed());