vvval/exiftool-reader 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vvval/exiftool-reader

Composer 安装命令:

composer require vvval/exiftool-reader

包简介

Exiftool reader process wrapper

README 文档

README

A PHP wrapper to fetch data from exiftools util.

Latest Stable Version Total Downloads Scrutinizer Code Quality Build Status License Coverage Status

Installation

composer require vvval/exiftool-reader

Example usage

<?php
$exiftoolConfig = new \ExiftoolReader\Config\Exiftool();
$command = new \ExiftoolReader\Command($exiftoolConfig);
$mapperConfig = new \ExiftoolReader\Config\Mapper();
$utils = new \ExiftoolReader\Utils();

$reader = new \ExiftoolReader\Reader($command);
$metadata = new \ExiftoolReader\Metadata($mapperConfig, $utils);

/** @var ExiftoolReader\Result $output */
$output = $reader->read('filename');

/**
 * Full metadata array.
 */
$decoded = $output->getDecoded();
var_dump($decoded); // ['title' => '...', 'description' => '...', /* ... other fields */]

/**
 * Fetched specified metadata keys.
 * Uses aliases to find values,
 * for example Title|ObjectName, Description|Caption-Abstract|ImageDescription, etc...
 */
$fetchedData = $metadata->fetch($output, ['title', 'description']);
var_dump($fetchedData); // ['title' => '...', 'description' => '...']

统计信息

  • 总下载量: 34
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固