PHPackages                             bella-baxter/symfony - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bella-baxter/symfony

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

bella-baxter/symfony
====================

Symfony Bundle for the Bella Baxter secret management platform

v0.1.1-beta.91(4w ago)00MITPHPPHP ^8.1CI failing

Since Mar 26Pushed 4w agoCompare

[ Source](https://github.com/Cosmic-Chimps/bella-baxter-php-symfony)[ Packagist](https://packagist.org/packages/bella-baxter/symfony)[ Docs](https://bella-baxter.io)[ RSS](/packages/bella-baxter-symfony/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (12)Versions (67)Used By (0)

bella-baxter/symfony
====================

[](#bella-baxtersymfony)

Symfony Bundle for the [Bella Baxter](https://bella-baxter.io) secret management platform.

[![Packagist](https://camo.githubusercontent.com/e3547d51bb1a697a62fc2bea5d4b03a19ca4df1a564c3d99c4e50dce6fbeacdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62656c6c612d6261787465722f73796d666f6e79)](https://packagist.org/packages/bella-baxter/symfony)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

Registers `BaxterClient` as a Symfony service and loads secrets into `$_ENV` / `putenv()` on the first HTTP request.

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

[](#installation)

```
composer require bella-baxter/symfony
```

Registration
------------

[](#registration)

Add to `config/bundles.php`:

```
return [
    // ...
    BellaBaxter\Symfony\BellaBundle::class => ['all' => true],
];
```

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

[](#configuration)

Create `config/packages/bella.yaml`:

```
bella:
  url: '%env(BELLA_BAXTER_URL)%'
  api_key: '%env(BELLA_BAXTER_API_KEY)%'
  auto_load: true    # optional, default: true
```

Set environment variables in `.env`:

```
BELLA_BAXTER_URL=https://api.bella-baxter.io
BELLA_BAXTER_API_KEY=bax-your-api-key
```

Usage
-----

[](#usage)

### Auto-load (default)

[](#auto-load-default)

With `auto_load: true`, secrets are injected into `$_ENV` on the first request:

```
// In any controller or service:
$dbUrl = $_ENV['DATABASE_URL'];       // from Bella Baxter
$dbUrl = getenv('DATABASE_URL');      // same
$dbUrl = $_SERVER['DATABASE_URL'];    // same
```

### Service injection

[](#service-injection)

```
use BellaBaxter\BaxterClient;

class MyService
{
    public function __construct(private BaxterClient $bella) {}

    public function doSomething(): void
    {
        $secrets = $this->bella->getAllSecrets();
    }
}
```

### Autowiring

[](#autowiring)

`BaxterClient` is registered as a public service and autowired by type — no manual service definition needed.

Configuration reference
-----------------------

[](#configuration-reference)

KeyDefaultDescription`url`—Base URL of the Baxter API`api_key`—API key from `bella apikeys create``auto_load``true`Load secrets into `$_ENV` on first request

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance94

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

66

Last Release

29d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d4a4de332e94aba03e66296f4bfa03101afa5d666c0dcbfa3c9da23c364dc00?d=identicon)[jjchiw](/maintainers/jjchiw)

---

Tags

symfonybundlevaultsecretssecret-managementbella-baxter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bella-baxter-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/bella-baxter-symfony/health.svg)](https://phpackages.com/packages/bella-baxter-symfony)
```

PHPackages © 2026

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