Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

PHP MetaLens

Unlock the Hidden Data in Your Photos with PHP!

A simple PHP class for reading (and writing) image metadata (EXIF) from JPG, JPEG, and TIFF files.

Features

  • Read image metadata using PHP's exif_read_data
  • Exception handling for missing or unsupported files
  • PHPUnit tests included

Usage

require_once 'MetaLens.php';
$meta = new MetaLens('/path/to/image.jpg');
$data = $meta->readMetadata();
print_r($data);
$getGPS = $meta->getGPS();
print_r($getGPS);

Testing

Run PHPUnit tests:

vendor\bin\phpunit MetaLensTest.php

Requirements

  • PHP 8+
  • exif extension enabled
  • Composer (for dependencies and PHPUnit)

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages