PHP code example of typomedia / metainfo
1. Go to this page and download the library: Download typomedia/metainfo 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/ */
typomedia / metainfo example snippets
use Typomedia\Metainfo\Metainfo;
$metainfo = new Metainfo('example.pdf');
print $metainfo->title;
print $metainfo->author;
print $metainfo->description;
print $metainfo->format;
print $metainfo->date;