lychee-org / php-exif
Object-Oriented EXIF parsing
Installs: 73 967
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 35
Open Issues: 0
Requires
- php: ^8.2
- ext-fileinfo: *
- fylax/forceutf8: ^3.0.3
- php-ffmpeg/php-ffmpeg: ^1.2
- thecodingmachine/safe: ^2.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.51
- infection/infection: ^0.27.10
- lychee-org/phpstan-lychee: ^1.0.4
- php-parallel-lint/php-parallel-lint: ^1.3.2
- phpmd/phpmd: ^2.15
- phpunit/phpunit: ^9.5.10
- squizlabs/php_codesniffer: ^3.9
- thecodingmachine/phpstan-safe-rule: ^1.2
Suggests
- ext-exif: Use exif PHP extension as adapter
- ext-imagick: Use ImageMagick as adapter
- ext-mbstring: Support UTC-16 characters in EXIF data with exif PHP extension
- lib-exiftool: Use perl lib exiftool as adapter
- FFmpeg: Use FFmpeg/FFprobe as adapter
This package is auto-updated.
Last update: 2024-12-01 00:12:01 UTC
README
PHPExif is a library which gives you easy access to the EXIF meta-data of an image or video.
PHPExif serves as a wrapper around some native or CLI tools which access this EXIF meta-data from an image video. As such, it provides a standard API for retrieving and accessing that information.
Supported tools
- Native PHP functionality (exif_read_data, iptcparse) [images]
- Exiftool adapter (wrapper for the exiftool binary) [images and videos]
- FFmpeg/FFprobe adapter (wrapper for the exiftool binary) [videos]
- Imagick adapter [images]
Installation (composer)
composer require lychee-org/php-exif
Usage
Contributing
Please submit all pull requests against the correct branch. The release branch for the next version is a branch with the same name as the next version. Bugfixes should go in the master branch, unless they are for code in a new release branch.
PHPExif is written according the PSR-0/1/2 standards. When submitting code, please make sure it is conform these standards. We aim to have all functionality covered by unit tests. When submitting code, you are strongly encouraged to unit test your code and to keep the level of code coverage on par with the current level.
All contributions are welcomed and greatly appreciated.
Feedback
Have a bug or a feature request? Please open a new issue. Before opening any issue, please search for existing issues.
Contributors
Past Contributors
Thank you for your help!
- Tom Van Herreweghe
- Ingewikkeld
- Christophe Singer
- Hanov Ruslan
- Julian Gutierrez
- Marek Szymczuk
- Scott Pringle
- tmp-hallenser
- icager