PHPackages                             digicol/dcx-sdk-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. [File &amp; Storage](/categories/file-storage)
4. /
5. digicol/dcx-sdk-php

AbandonedArchivedLibrary[File &amp; Storage](/categories/file-storage)

digicol/dcx-sdk-php
===================

Official PHP SDK for the Digital Collections DC-X Digital Asset Management system

2.0.2(4y ago)081.0k1[3 issues](https://github.com/digicol/dcx-sdk-php/issues)[1 PRs](https://github.com/digicol/dcx-sdk-php/pulls)1MITPHPPHP &gt;=5.5.9

Since Oct 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/digicol/dcx-sdk-php)[ Packagist](https://packagist.org/packages/digicol/dcx-sdk-php)[ Docs](https://github.com/digicol/dcx-sdk-php)[ RSS](/packages/digicol-dcx-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (1)

Official PHP SDK for the Digital Collections DC-X Digital Asset Management system
=================================================================================

[](#official-php-sdk-for-the-digital-collections-dc-x-digital-asset-management-system)

The `DcxApiClient` class helps your custom PHP code connect to your [DC-X](http://www.digicol.com/products/dc-x/) system via the HTTP-based [DC-X JSON API](http://wiki.digicol.de/x/1oTc) (documented in our partner and customer Wiki).

Versions
--------

[](#versions)

If you need to use the old `DCX_Api_Client` class, check out the [1.0.0 release](https://github.com/digicol/dcx-sdk-php/releases/tag/1.0.0).

For everyone else, we recommend the latest, [Guzzle](http://guzzlephp.org/)-based version.

Installation in Composer-based projects
---------------------------------------

[](#installation-in-composer-based-projects)

If your PHP project uses [Composer](https://getcomposer.org), installation is straightforward.

1. Either run `composer require digicol/dcx-sdk-php`.
2. Or add this to your project’s `composer.json` file:

```
    "require":
    {
        "digicol/dcx-sdk-php": "^2.0"
    },

```

… and run `composer update` in your project to download the SDK.

Installation in projects not using Composer
-------------------------------------------

[](#installation-in-projects-not-using-composer)

You don’t have to use Composer in your project to use the SDK. But you still need it (see its [installation instructions](https://getcomposer.org/doc/00-intro.md)) for downloading the SDK’s dependencies after checking out the sources:

```
$ git clone https://github.com/digicol/dcx-sdk-php.git
$ cd dcx-sdk-php
$ composer install

```

In your PHP code, include the SDK’s autoloader like this:

```
require('/path/to/dcx-sdk-php/vendor/autoload.php');

```

Getting started
---------------

[](#getting-started)

Here’s an example of retrieving a DC-X collection’s details (name, links to retrieving documents):

```
