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

ActiveLibrary[API Development](/categories/api)

vpalousek98/adobe-sign-php
==========================

Adobe Sign PHP Client

0.2.0(8y ago)04MITPHPPHP &gt;=5.6.0

Since Jul 19Pushed 4y agoCompare

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

READMEChangelogDependencies (4)Versions (4)Used By (0)

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

[](#adobe-sign-php)

[![Latest Stable Version](https://camo.githubusercontent.com/87289d17f6178a59be4f22f43e4d5450fe98cf9cce2ef2649c51300a20852fd2/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e656d2f61646f62652d7369676e2d7068702f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kevinem/adobe-sign-php)[![License](https://camo.githubusercontent.com/7eb0ad5447e4474d16b9953a85433c188af84583a53ac72a861aeeabe66ec09e/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e656d2f61646f62652d7369676e2d7068702f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kevinem/adobe-sign-php)[![Build Status](https://camo.githubusercontent.com/8fed84e0a5fda0adc931d51e67595d137d95a0a7ea9142fe06b548c492b8bf58/68747470733a2f2f7472617669732d63692e6f72672f6b6576696e656d2f61646f62652d7369676e2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kevinem/adobe-sign-php)

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

[](#installation)

To install, use composer:

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

```

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

[](#documentation)

### Example Usage

[](#example-usage)

```
session_start();

$provider = new KevinEm\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) Copyright (c) 2016 Kevin Em

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~199 days

Total

3

Last Release

3181d ago

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

0.1.1PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/44d9609d5b6682990eb0dbe9b94e6a986bc44585a9fc0f3c77b44fa6ae5f3aa4?d=identicon)[vpalousek98](/maintainers/vpalousek98)

---

Top Contributors

[![vpalousek98](https://avatars.githubusercontent.com/u/45952170?v=4)](https://github.com/vpalousek98 "vpalousek98 (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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