PHP code example of gomoob / php-metadata-extractor

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

    

gomoob / php-metadata-extractor example snippets


Metadata metadata = ImageMetadataReader.readMetadata(imagePath);
json
{
    "omoob/php-metadata-extractor": "~2.9"
    }
}