Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Laravel Package

bella-baxter/symfony

View on GitHub
Deep Wiki
Context7

bella-baxter/symfony

Symfony Bundle for the Bella Baxter secret management platform.

Packagist License

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

Installation

composer require bella-baxter/symfony

Registration

Add to config/bundles.php:

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

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

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

use BellaBaxter\BaxterClient;

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

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

Autowiring

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

Configuration reference

Key Default Description
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
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support