PHPackages                             quidage/php8-iptc-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. quidage/php8-iptc-manager

ActiveLibrary

quidage/php8-iptc-manager
=========================

Allows to manipulate IPTC tags from PHP8.\*

v1.0.2(4y ago)09.6k↓17.2%1MITPHPPHP ^8.0

Since Apr 29Pushed 4y agoCompare

[ Source](https://github.com/quidage/php8-iptc-manager)[ Packagist](https://packagist.org/packages/quidage/php8-iptc-manager)[ RSS](/packages/quidage-php8-iptc-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

\[php8-iptc-manager\]
=====================

[](#php8-iptc-manager)

[![CircleCI](https://camo.githubusercontent.com/81a2e9d2515ba522f309e71f0e57b0d078eeba5a90f04993f3218843b5563bcb/68747470733a2f2f636972636c6563692e636f6d2f67682f6962756461736f762f706870372d697074632d6d616e616765722e7376673f7374796c653d737667)](https://circleci.com/gh/ibudasov/php7-iptc-manager)[![Maintainability](https://camo.githubusercontent.com/d02fbd486b3a46b38a27a4319020f4e1348da4842e1f693d2b9831ff451b6b09/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38613066333265396436666633393438653464362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/ibudasov/php7-iptc-manager/maintainability)[![Test Coverage](https://camo.githubusercontent.com/686881325193b6e6895944a70e2b4f854821d24aecdd6e38d679aaf02f12b612/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38613066333265396436666633393438653464362f746573745f636f766572616765)](https://codeclimate.com/github/ibudasov/php7-iptc-manager/test_coverage)[![Latest Version on Packagist](https://camo.githubusercontent.com/10787b3e8f399d5f1d8f13bffc066a6d154c8bdc4ffa4865aa3e8a233b3704f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6962756461736f762f706870372d697074632d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibudasov/php7-iptc-manager)[![MIT licensed](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](./LICENSE)

### Why and what is it

[](#why-and-what-is-it)

[IPTC tags](https://iptc.org) are tags, which you can include in a picture you have taken (remember Instagram?)

This library provides simple interface to do that, because standard PHP way sucks a lot.

So, let's get started!

### Installation

[](#installation)

Installation is quite typical - with composer:

```
composer require ibudasov/php7-iptc-manager

```

### How to use

[](#how-to-use)

Before usage you have to create the IPTC tags manager:

```
// import the Manager class
use iBudasov\Iptc\Manager;

// ... and instantiate it!
$manager = Manager::create();

```

Once you have an instance of the Manager - you'll need to specify the file to work with. `['jpg', 'jpeg', 'pjpeg']` file types are supported, and if you try to feed something else - exception will be thrown

```
$manager->loadFile('/tmp/proper-file.jpg');

```

### Create an IPTC tag

[](#create-an-iptc-tag)

Then you can add some IPTC tags.

There are different kinds of IPTC tags, but for all of them you'll find a constant in `Tag` class.

You can specify multiple values for each tag, it is allowed by specification, so we have array of values:

```
$manager->addTag(new Tag(Tag::AUTHOR, ['IGOR BUDASOV']));
$manager->write();

```

If a tag with the same name already exists - an exception will be thrown, so you can use `Manager::deleteTag()` to explicitly remove previous value.

It was made to avoid accidental removing of data. Yes, we were thinking about safety of your data!

### Read an IPTC tag

[](#read-an-iptc-tag)

Once you `loadFile()` all the included IPTC tags will be loaded to the Manager, so you can retrieve any tag by it's codename.

If this tag doesn't exist - you'll experience an exception.

```
$manager->getTag(Tag::AUTHOR)

```

...or you can get them all at once!

```
$manager->getTags();

```

### Delete an IPTC tag

[](#delete-an-iptc-tag)

Sometimes you want to delete a tag - here is the way.

If you're trying to delete a tag which does not exist - exception will be thrown.

```
$manager->deleteTag(Tag::AUTHOR);
$manager->write();

```

### P.S.

[](#ps)

All the code is nicely covered by tests, but if you find a bug - feel free to contact me!

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~413 days

Total

4

Last Release

1699d ago

Major Versions

0.0.1 → v1.0.02018-05-19

PHP version history (2 changes)0.0.1PHP ^7.1.3

v1.0.1PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/da5b75768a00823fbab28ebf81780e358e1083bb6e1df11264c06bc52d6f5d22?d=identicon)[quidage](/maintainers/quidage)

---

Top Contributors

[![ibudasov](https://avatars.githubusercontent.com/u/3657892?v=4)](https://github.com/ibudasov "ibudasov (49 commits)")[![quidage](https://avatars.githubusercontent.com/u/1376696?v=4)](https://github.com/quidage "quidage (5 commits)")[![devkrake](https://avatars.githubusercontent.com/u/88480829?v=4)](https://github.com/devkrake "devkrake (1 commits)")[![L-DV](https://avatars.githubusercontent.com/u/32542763?v=4)](https://github.com/L-DV "L-DV (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/quidage-php8-iptc-manager/health.svg)

```
[![Health](https://phpackages.com/badges/quidage-php8-iptc-manager/health.svg)](https://phpackages.com/packages/quidage-php8-iptc-manager)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
