PHPackages                             whikloj/archivematica-php - 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. [API Development](/categories/api)
4. /
5. whikloj/archivematica-php

ActiveLibrary[API Development](/categories/api)

whikloj/archivematica-php
=========================

A PHP client library for Archivematica

00PHP

Since Mar 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/whikloj/archivematicaPhp)[ Packagist](https://packagist.org/packages/whikloj/archivematica-php)[ RSS](/packages/whikloj-archivematica-php/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Minimum PHP Version](https://camo.githubusercontent.com/1e3b70374ce5a22774aa3385ec7b561e59b8f8c6a75da5d41cb46fcbe55e6a8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e332d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Github Actions](https://github.com/whikloj/archivematicaPhp/workflows/Build/badge.svg?branch=main)](https://github.com/whikloj/archivematicaPhp/actions?query=workflow%3A%22Build%22+branch%3Amain)[![LICENSE](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](./LICENSE)[![codecov](https://camo.githubusercontent.com/1e3985cc04beadc90e53731d6c2e51e2e312fd0b0ef510716e64c9dcb10193f5/68747470733a2f2f636f6465636f762e696f2f67682f7768696b6c6f6a2f617263686976656d61746963615068702f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/whikloj/archivematicaPhp)

Description
-----------

[](#description)

This is a PHP client library for interacting with an [Archivematica](https://www.archivematica.org) instance. It requires PHP &gt;= 7.3.

Installation
------------

[](#installation)

This library can installed using [Composer](https://getcomposer.org) with the command.

```
composer require whikloj/archivematicaPhp

```

Usage
-----

[](#usage)

The Archivematica client is made up a main `ArchivematicaPhp` resource and several other object types. These are described below:

- [Transfer](#transfer-object)
- [Ingest](#ingest-object)
- [Package](#package-object)
- [Location](#location-object)
- [Space](#space-object)
- [Pipeline](#pipeline-object)

### ArchivematicaPhp

[](#archivematicaphp)

To instantiate an ArchivematicPhp instance you provide your Archivematica URL and your Storage Service URL. You will also need to set your username and API keys for either or both the Archivematica system and Storage Service.

```
$client = ArchivematicaPhp::create(
    "http://my-archivematica.example.org",
    "http://my-archivematica.example.org:62101"
)->setAMCreds(
    "archivematicaUser",
    "archivematicaApiKey"
)->setSSCreds(
    "storageServiceUser",
    "storageServiceApiKey"
);

```

#### Processing Config

[](#processing-config)

You can request the current processing configuration from the server. It returns an XML document.

```
$config = $client->getProcessingConfig();

```

#### Other operations

[](#other-operations)

Once you have an ArchivematicaPhp instance you can request any of the other objects but using their associated GET methods. ie.

- Transfers - `$client->getTransfer()`
- Ingests - `$client->getIngest()`
- Packages - `$client->getPackage()`
- Locations - `$client->getLocation()`
- Spaces - `$client->getSpace()`
- Pipelines - `$client->getPipeline()`

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4703a4545b6059c95c19547895d9d61e3d284d8461b3fa59d66975c470f437b7?d=identicon)[whikloj](/maintainers/whikloj)

---

Top Contributors

[![whikloj](https://avatars.githubusercontent.com/u/2857697?v=4)](https://github.com/whikloj "whikloj (6 commits)")

### Embed Badge

![Health badge](/badges/whikloj-archivematica-php/health.svg)

```
[![Health](https://phpackages.com/badges/whikloj-archivematica-php/health.svg)](https://phpackages.com/packages/whikloj-archivematica-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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