(Symfony'ish fork of https://github.com/jkphl/micrometa)
Install it with Composer:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/wawagit/micrometa"
}
],
"require": {
"jkphl/micrometa": "0.3.*@dev"
}
}
Add this to your autoload.php:
$loader->add('Jkphl', __DIR__.'/../vendor/jkphl/micrometa/src');
$micrometaParser = new \Jkphl\Micrometa($uri);
$micrometaObjectData = $micrometaParser->toObject();