PHPackages                             b3da/eos-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. b3da/eos-bundle

ActiveSymfony-bundle

b3da/eos-bundle
===============

Symfony bundle for easy OpenSSL operations

08PHP

Since Jun 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/b3da-cz/EosBundle)[ Packagist](https://packagist.org/packages/b3da/eos-bundle)[ RSS](/packages/b3da-eos-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

**b3da/EasyOpenSslBundle**
==========================

[](#b3daeasyopensslbundle)

### **Symfony** Bundle for easy **OpenSSL encryption, decryption and key pair generation.**

[](#symfony-bundle-for-easy-openssl-encryption-decryption-and-key-pair-generation)

#### Dependencies:

[](#dependencies)

- symfony/framework-standard-edition "&gt;=2.8|~3.1"

### Instalation:

[](#instalation)

- create project with Symfony framework
- composer require b3da/eos-bundle "dev-master"
- `AppKernel.php:`

> ```
> new b3da\EasyOpenSslBundle\b3daEasyOpenSslBundle(),
> ```

- `parameters.yml(.dist):`

> ```
> # EasyOpenSSL encryption method
> eos_enc_method: aes-256-cbc
> # ...
> ```

- (you can extend base `Client` and `Message` entities from `b3da\EasyOpenSslBundle` namespace)
- update your schema

### Usage:

[](#usage)

- new service `b3da_easy_open_ssl.eos` is available for OpenSSL operations

> ```
> $eos = $this->get('b3da_easy_open_ssl.eos');
> ```

- create Client example (`FooController`)

> ```
> $client = new Client();
> $client = $eos->generateKeyPairForClient($client);
> if (!$client) {
>    // err generating keypair
> }
> // persist Client with keys
> ```

- encrypt data by Client's private key example (`FooController`)

> ```
> $message = $eos->encrypt($client, 'msg data .. foo bar baz');
> ```

- decrypt data by Client's public key example (`FooController`)

> ```
> $decryptedData = $eos->decrypt($message);
> // $decryptedData === 'msg data .. foo bar baz';
> ```

---

##### simple API for basic tasks (optional)

[](#simple-api-for-basic-tasks-optional)

- import routes into `routing.yml`:

> ```
> b3da_easy_open_ssl:
>     resource: "@b3daEasyOpenSslBundle/Controller/"
>     type:     annotation
>     prefix:   /eos/
> ```

- /eos/msg-api/client/create/ \[POST\]

> ```
> Response:
>
> {"status":"success","id":"3ead5521-2fbc-11e6-834a-f0def1ff5901"}
>
> or
>
> {"status":"error","details":"key pair generating failed"}
> ```

- /eos/msg-api/client/export-public/{id}/ \[GET\]

> ```
> Response:
>
> {"status":"success","data":{"id":"3ead5521-2fbc-11e6-834a-f0def1ff5901","pubkey":"LS0tLS1CR .. S0tLQ=="}}
>
> or
>
> {"status":"error","details":"no client for id"}
> ```

- /eos/msg-api/client/import-public/{id}/ \[POST\]

> ```
> Request:
>
> {"data":{"id":"3ead5521-2fbc-11e6-834a-f0def1ff5901","pubkey":"LS0tLS1CR .. S0tLQ=="}}
>
> Response:
>
> {"status":"success","id":"3ead5521-2fbc-11e6-834a-f0def1ff5901"}
>
> or
>
> {"status":"error","details":"no data to import"}
> ```

- /eos/msg-api/msg/encrypt/{clientId}/{data}/ \[GET\]

> ```
> Response:
>
> {"status":"success","data":{"message":":774c6b663650636 .. 34346616f5901"}}
>
> or
>
> {"status":"error","details":"no client for id"}
> ```

- /eos/msg-api/msg/decrypt/{data}/ \[GET\]

> ```
> Request:
>
> /eos/msg-api/msg/decrypt/{"message":":774c6b663650636 .. 34346616f5901"}/
>
> Response:
>
> {"status":"success","data":"foo bar"}
>
> or
>
> {"status":"error","details":"wrong format"}
> ```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/417ce6e6aa29246d9cd7d2f20689f767f12c9ecae53306089f8781f7fb6376b0?d=identicon)[b3da](/maintainers/b3da)

---

Top Contributors

[![b3da-cz](https://avatars.githubusercontent.com/u/16703735?v=4)](https://github.com/b3da-cz "b3da-cz (2 commits)")

### Embed Badge

![Health badge](/badges/b3da-eos-bundle/health.svg)

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

PHPackages © 2026

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