PHPackages                             mettle/adobe-sign-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. mettle/adobe-sign-php

ActiveLibrary[API Development](/categories/api)

mettle/adobe-sign-php
=====================

Adobe Sign PHP Client

v0.5.0(4y ago)076.8k↓24%1MITPHPPHP ^7.3 || ^8.0 || ^8.1

Since Jul 19Pushed 4y agoCompare

[ Source](https://github.com/mettle/adobe-sign-php)[ Packagist](https://packagist.org/packages/mettle/adobe-sign-php)[ RSS](/packages/mettle-adobe-sign-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

Adobe Sign PHP
==============

[](#adobe-sign-php)

Unofficial PHP SDK for the [Adobe Sign REST API Version 5 Methods](https://secure.na1.adobesign.com/public/docs/restapi/v5)

[![Source Code](https://camo.githubusercontent.com/45a64868393386bd66bc9a0cf6b7441beb8c79d00c56f20900033fbfd26dfc10/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6d6574746c652f61646f62652d2d7369676e2d2d7068702d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/mettle/adobe-sign-php)[![Latest Version](https://camo.githubusercontent.com/6a21ed513118e8177f69a1edc3f063eb12b4f2c7fa352cd366770f7a0cd95dca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6574746c652f61646f62652d7369676e2d7068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/mettle/adobe-sign-php/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/mettle/adobe-sign-php/blob/master/LICENSE)[![Build Status](https://camo.githubusercontent.com/901141868c53d96909c8aac74e7ad78e4489ddb84545d696731127685dd220a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d6574746c652f61646f62652d7369676e2d7068702f43493f6c6162656c3d4349266c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://github.com/mettle/adobe-sign-php/actions?query=workflow%3ACI)

Requirements
------------

[](#requirements)

The following versions of PHP are supported:

- PHP 8.1
- PHP 8.0
- PHP 7.4
- PHP 7.3

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

[](#installation)

To install, use composer:

```
composer require mettle/adobe-sign-php

```

Documentation
-------------

[](#documentation)

### Example Usage

[](#example-usage)

```
session_start();

$provider = new Mettle\OAuth2\Client\AdobeSign([
    'clientId'          => 'your_client_id',
    'clientSecret'      => 'your_client_secret',
    'redirectUri'       => 'your_callback',
    'scope'             => [
          'scope1:type',
          'scope2:type'
    ]
]);

$adobeSign = new AdobeSign($provider);

if (!isset($_GET['code'])) {
    $authorizationUrl = $adobeSign->getAuthorizationUrl();
    $_SESSION['oauth2state'] = $provider->getState();
    header('Location: ' . $authorizationUrl);
} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
    unset($_SESSION['oauth2state']);
    exit('Invalid state');
} else {
    $accessToken = $adobeSign->getAccessToken($_GET['code']);
    $adobeSign->setAccessToken($accessToken->getToken());
    $adobeSign->createAgreement([
        'documentCreationInfo' => [
            'fileInfos'         => [
                'libraryDocumentId' => 'your_library_document_id'
            ],
            'name'              => 'My Document',
            'signatureType'     => 'ESIGN',
            'recipientSetInfos' => [
                'recipientSetMemberInfos' => [
                    'email' => 'test@gmail.com'
                ],
                'recipientSetRole'        => [
                    'SIGNER'
                ]
            ],
            'mergeFieldInfo'    => [
                [
                    'fieldName'    => 'Name',
                    'defaultValue' => 'John Doe'
                ]
            ],
            'signatureFlow'     => 'SENDER_SIGNATURE_NOT_REQUIRED'
        ]
    ]);
}
```

### Generate Multipart Stream for transient document upload

[](#generate-multipart-stream-for-transient-document-upload)

Thanks to @trip-somers for the [solution](https://github.com/kevinem/adobe-sign-php/issues/1).

```
$file_path = '/path/to/local/document';

$file_stream = Psr7\FnStream::decorate(Psr7\stream_for(file_get_contents($file_path)), [
    'getMetadata' => function() use ($file_path) {
        return $file_path;
    }
]);

$multipart_stream   = new Psr7\MultipartStream([
    [
        'name'     => 'File',
        'contents' => $file_stream
    ]
]);

$transient_document = $adobeSign->uploadTransientDocument($multipart_stream);
```

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~405 days

Recently: every ~436 days

Total

6

Last Release

1560d ago

PHP version history (4 changes)0.1.0PHP &gt;=5.5.0

0.1.1PHP &gt;=5.6.0

v0.3.0PHP ^7.3 || ^8.0

v0.5.0PHP ^7.3 || ^8.0 || ^8.1

### Community

Maintainers

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

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

---

Top Contributors

[![mauricius](https://avatars.githubusercontent.com/u/7000852?v=4)](https://github.com/mauricius "mauricius (12 commits)")[![grantjanecek](https://avatars.githubusercontent.com/u/17169721?v=4)](https://github.com/grantjanecek "grantjanecek (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mettle-adobe-sign-php/health.svg)

```
[![Health](https://phpackages.com/badges/mettle-adobe-sign-php/health.svg)](https://phpackages.com/packages/mettle-adobe-sign-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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