PHPackages                             neyric/yousign-bundle - 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. neyric/yousign-bundle

ActiveSymfony-bundle[API Development](/categories/api)

neyric/yousign-bundle
=====================

Yousign Bundle for Symfony

v0.0.7(4y ago)017.4k3[2 issues](https://github.com/ericabouaf/yousign-bundle/issues)MITPHP

Since Feb 3Pushed 4y ago3 watchersCompare

[ Source](https://github.com/ericabouaf/yousign-bundle)[ Packagist](https://packagist.org/packages/neyric/yousign-bundle)[ Docs](https://github.com/neyric/yousign-bundle)[ RSS](/packages/neyric-yousign-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (6)Versions (8)Used By (0)

Yousign Bundle for Symfony [![Build Status](https://camo.githubusercontent.com/1a3995660201d3f038f96e300d05501cad587c32db186000d7e859e7998b7c92/68747470733a2f2f7472617669732d63692e6f72672f6572696361626f7561662f796f757369676e2d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ericabouaf/yousign-bundle) [![Latest Stable Version](https://camo.githubusercontent.com/71b1f2faa1c559ef645f3c44ce90c1af3f09122d0973279d4f998975c7d21908/68747470733a2f2f706f7365722e707567782e6f72672f6e65797269632f796f757369676e2d62756e646c652f762f737461626c65)](https://packagist.org/packages/neyric/yousign-bundle) [![Total Downloads](https://camo.githubusercontent.com/9377104da8f1f67ae718030a097ce7224d4539ed88b8f31a50af8ef074a345bc/68747470733a2f2f706f7365722e707567782e6f72672f6e65797269632f796f757369676e2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/neyric/yousign-bundle) [![License](https://camo.githubusercontent.com/3777264a34b7be6bed449fbb65f641a39ce1091e6834f988ccc9c48a99b1781a/68747470733a2f2f706f7365722e707567782e6f72672f6e65797269632f796f757369676e2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/neyric/yousign-bundle)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#yousign-bundle-for-symfony----)

A Symfony bundle for [Yousign](https://yousign.com/).

- Provide a service to access the API for a better Symfony integration
- Webhook handler (HTTP controller) + Webhook Event

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

[](#requirements)

- Php &gt;= 7.1
- Symfony 4.4 or 5+

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

[](#installation)

```
$ composer require neyric/yousign-bundle
```

Load the bundle in your app

```
$bundles = [
    // ...
    new \Neyric\YousignBundle\NeyricYousignBundle(),
];
```

Configuration
-------------

[](#configuration)

The bundle (in particular the YousignApiClient), expects those 2 environement variables to be defined

- YOUSIGN\_BASE\_URL (should be  or )
- YOUSIGN\_API\_KEY

Using the webhook handler
-------------------------

[](#using-the-webhook-handler)

First, setup the route in your routes.yaml file :

```
neyric_yousign:
    path: /yousign_webook/hook_handler # Customizable url
    controller: Neyric\YousignBundle\Controller\YousignController::webhookHandlerAction
```

Create a subscriber

```
use Neyric\YousignBundle\Event\WebhookEvent;

class MySubscriber implements EventSubscriberInterface
{

    public function onYousignWebhook(WebhookEvent $event)
    {
        $headers = $event->getHeaders();

        if (array_key_exists('x-my-custom-header', $headers)) {
            // ...
        }

        // ...
    }

    public static function getSubscribedEvents()
    {
        return [
            WebhookEvent::class => ['onYousignWebhook'],
        ];
    }
}
```

And eventually declare the service with the `kernel.event_subscriber` tag :

```
    App\Subscriber\MySubscriber:
        class: App\Subscriber\MySubscriber
        tags:
            - { name: kernel.event_subscriber }
```

Prepare a local tunnel
----------------------

[](#prepare-a-local-tunnel)

Using a local tunnel will save you a lot of time because you can test locally. The recommended choice is [ngrok](https://ngrok.com/). Ngrok is a tool to tunnel our local server to the web, making our local webhook handlers available to the email providers webhooks.

License
-------

[](#license)

neyric/yousign-bundle is distributed under MIT license, see the [LICENSE file](https://github.com/neyric/yousign-bundle/blob/master/LICENSE).

Contacts
--------

[](#contacts)

Report bugs or suggest features using [issue tracker on GitHub](https://github.com/neyric/yousign-bundle).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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 ~103 days

Recently: every ~127 days

Total

7

Last Release

1673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b07b937c4c01181b6dbe7e5ac025637f0a2cc639d26a6cd6efe40260f7c20bb?d=identicon)[neyric](/maintainers/neyric)

---

Top Contributors

[![ericabouaf](https://avatars.githubusercontent.com/u/39354?v=4)](https://github.com/ericabouaf "ericabouaf (14 commits)")

---

Tags

symfonyyousign

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/neyric-yousign-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/neyric-yousign-bundle/health.svg)](https://phpackages.com/packages/neyric-yousign-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[liip/test-fixtures-bundle

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications

1798.3M42](/packages/liip-test-fixtures-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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