kaloa/xmp

An XMP (Extensible Metadata Platform) reader component

Installs: 462

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kaloa/xmp

v0.1.1 2022-06-17 12:06 UTC

This package is not auto-updated.

Last update: 2025-10-18 04:34:11 UTC


README

Install

Via Composer:

$ composer require kaloa/xmp

Requirements

The following PHP versions are supported:

  • PHP 5.3
  • PHP 5.4
  • PHP 5.5
  • PHP 5.6
  • PHP 7
  • HHVM

Documentation

exiv2 is a useful tool to work with image files. Here are some common tasks:

List all XMP data from a file:

$ exiv2 -px <file>

Extract XMP data from a file <image>.<ext> to <image>.xmp:

$ exiv2 -eX <image>.<ext>

Testing

$ ./vendor/bin/phpunit

Further quality assurance:

$ ./vendor/bin/phpcs --standard=PSR2 ./src
$ ./vendor/bin/phpmd ./src text codesize,design,naming

Credits

License

The package is published under the MIT License. See LICENSE for full license info.