PHPackages                             katena-chain/client-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. [Framework](/categories/framework)
4. /
5. katena-chain/client-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

katena-chain/client-bundle
==========================

Katena Symfony Client Bundle

v1.2.0(5y ago)023Apache-2.0PHPPHP ^7.1

Since Sep 17Pushed 5y agoCompare

[ Source](https://github.com/katena-chain/client-bundle)[ Packagist](https://packagist.org/packages/katena-chain/client-bundle)[ RSS](/packages/katena-chain-client-bundle/feed)WikiDiscussions master Synced 3d ago

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

ClientBundle
============

[](#clientbundle)

KatenaChain Symfony Client Bundle that integrate [sdk-php-client](https://github.com/katena-chain/sdk-php-client).

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

[](#installation)

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Not Available now.

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a terminal, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require katena-chain/client-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

#### Symfony version &lt; 4.0

[](#symfony-version--40)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new \\(),
        ];

        // ...
    }

    // ...
}
```

#### Symfony version &gt; 4.0

[](#symfony-version--40-1)

Then, enable the bundle by adding it to the list of registered bundles in the `bundles.php` file of your project:

```
// bundles.php

return [
    //...
    KatenaChain\ClientBundle\KCClientBundle::class => ['all' => true]
];
```

### Step 3: Add configuration file

[](#step-3-add-configuration-file)

#### Symfony version &lt; 4.0

[](#symfony-version--40-2)

Then, add the configuration file in `app/config/kc_client.yml`

```
#app/config/kc_client.yml

kc_client:
    chain:
        chain_id: "%env(resolve:KC_CHAIN_ID)%"
        signer_company_bcid: "%env(resolve:KC_SIGNER_COMPANY_BCID)%"
        signer_id: "%env(resolve:KC_SIGNER_ID)%"
        signer_private_key: "%env(resolve:KC_SIGNER_PRIVATE_KEY)%"
    api:
        url: "%env(resolve:KC_API_URL)%"
```

#### Symfony version &gt; 4.0

[](#symfony-version--40-3)

Then, add the configuration file in `config/packages/kc_client.yml`

```
#config/packages/kc_client.yml

kc_client:
    chain:
        chain_id: "%env(resolve:KC_CHAIN_ID)%"
        signer_company_bcid: "%env(resolve:KC_SIGNER_COMPANY_BCID)%"
        signer_id: "%env(resolve:KC_SIGNER_ID)%"
        signer_private_key: "%env(resolve:KC_SIGNER_PRIVATE_KEY)%"
    api:
        url: "%env(resolve:KC_API_URL)%"
```

### Step 4: Update .env file

[](#step-4-update-env-file)

Add in your .env file :

```
###> katena-chain/client-bundle ###
KC_SIGNER_PRIVATE_KEY="7C67DeoLnhI6jvsp3eMksU2Z6uzj8sqZbpgwZqfIyuCZbfoPcitCiCsSp2EzCfkY52Mx58xDOyQLb1OhC7cL5A=="
KC_SIGNER_COMPANY_BCID="abcdef"
KC_SIGNER_ID="36b72ca9-fd58-44aa-b90d-5a855276ff82"
KC_CHAIN_ID="katena-chain-test"
KC_API_URL="https://nodes.test.katena.transchain.io/api/v1"
###< katena-chain/client-bundle###
```

Usage
-----

[](#usage)

### Via dependency injection

[](#via-dependency-injection)

Just require KatenaChain\\ClientBundle\\Services\\Transactor service.

```
//...

use KatenaChain\ClientBundle\Services\Transactor;

//...

    /**
     * @var Transactor
     */
    protected $transactor;

//...
    public function __construct(Transactor $transactor)
    {
        //...
        $this->transactor = $transactor;
        //...
    }
//...
```

### Via service container

[](#via-service-container)

```
$transactor = $this->get("kc_client.transactor");
```

### Send certificate

[](#send-certificate)

```
$transactor->sendCertificateRawV1Tx("ce492f92-a529-40c1-91e9-2af71e74ebea", "document_signature_value");
```

Katena documentation
--------------------

[](#katena-documentation)

For more information, check the [katena documentation](https://doc.katena.transchain.io)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

2163d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4592e525b3beaa2e752ef283098a4966a6dfec9a6616d5850efc5969cc0f7ddb?d=identicon)[tc-devops](/maintainers/tc-devops)

---

Top Contributors

[![devops-tc](https://avatars.githubusercontent.com/u/47456375?v=4)](https://github.com/devops-tc "devops-tc (3 commits)")

### Embed Badge

![Health badge](/badges/katena-chain-client-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/katena-chain-client-bundle/health.svg)](https://phpackages.com/packages/katena-chain-client-bundle)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

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

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

1.3k1.3M152](/packages/sulu-sulu)[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)[contao/core-bundle

Contao Open Source CMS

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

Storefront for Shopware

684.2M148](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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