exiftool/wrapper

Wrapper for exiftool

dev-dev 2023-05-02 12:54 UTC

This package is not auto-updated.

Last update: 2025-09-02 23:41:06 UTC


README

Introduction

PHP wrapper around the exiftool command

Table of contents:

Installation

1 - Install mediainfo

You should install exiftool:

On linux:

$ sudo apt-get install exiftool

On Mac:

$ brew install exiftool

2 - Integration in your php project

To use this library install it through Composer, run:

$ composer require exiftool/wrapper

How to use

Retrieve media information container

<?php
//...
$exif = new \ExiftoolWrapper\Exiftool();
//...
$mediaInfo = new Exiftool();
$mediaInfoContainer = $mediaInfo->getInfo('image.jpg');
//...