Weave Code
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

Sdk Laravel Package

bella-baxter/sdk

Official PHP SDK for the Bella Baxter secret management platform. Fetch environment secrets or specific versions with a simple client API. Optional end-to-end encryption (ECDH P-256 + AES-256-GCM) keeps secret values encrypted in transit end-to-end.

View on GitHub
Deep Wiki
Context7

Bella Baxter php

Frequently asked questions about Sdk
How do I integrate Bella Baxter SDK with Laravel’s service container for dependency injection?
Register the `BaxterClient` as a singleton in `AppServiceProvider::register()` using Laravel’s service container. Bind it to a config-driven `BaxterClientOptions` instance, then inject the client into services needing secrets. Example: `$this->app->singleton(BaxterClient::class, fn($app) => new BaxterClient(new BaxterClientOptions(...)));`.
Does the Bella Baxter SDK support Laravel’s config caching (`config:cache`)?
No, the SDK does not automatically merge secrets into Laravel’s cached config. You must manually fetch secrets via the SDK and merge them into your config array before caching, or disable caching for secret-dependent configurations.
What Laravel versions are officially supported by this SDK?
The SDK is compatible with Laravel 8+ (PHP 8.1+), as it relies on modern PHP features and Laravel’s service container. Test thoroughly with your Laravel version, as no version-specific guarantees are provided beyond PHP 8.1.
How do I handle E2EE key management in Laravel’s request lifecycle?
The SDK generates ECDH keys per-instance, so avoid sharing a single client across requests. For Laravel, bind the client as a singleton *only if* keys are regenerated per-request (e.g., via middleware). Store private keys securely in Laravel’s `storage/` or a dedicated key management system.
Can I use Bella Baxter SDK with Laravel Forge/Vapor or Envoyer for runtime secret injection?
No, the SDK lacks native support for Forge/Vapor/Envoyer. For runtime injection, fetch secrets during deployment and merge them into your environment or config files manually, or use a custom deployment script.
What’s the performance impact of E2EE on Laravel applications?
E2EE adds cryptographic overhead (~50–100ms per request for key exchange and decryption). Benchmark in staging and disable E2EE for non-sensitive secrets. Avoid caching encrypted secrets aggressively, as decryption must occur per-request.
How do I handle API rate limits or failures in Laravel?
Wrap the SDK’s client in Laravel’s `HttpClient` with retry middleware (e.g., `retryWhen()`). Implement a fallback mechanism (e.g., encrypted `.env` files) for offline scenarios, and log failures via Laravel’s log channels.
Does the SDK support Laravel Scout or Echo for third-party API secrets?
No, the SDK is agnostic to Laravel Scout/Echo. Manually inject secrets into Scout/Echo configurations or use Laravel’s config system to merge SDK-fetched secrets into third-party API clients.
How do I audit secret access in Laravel using this SDK?
The SDK lacks built-in audit trails. Log secret access via Laravel’s log channels (e.g., `Log::info('Secret accessed', ['key' => $key])`) or integrate with a SIEM by wrapping the SDK’s methods in custom logging logic.
Are there alternatives to Bella Baxter for Laravel secret management?
Yes. Consider HashiCorp Vault (via `laravel/vault`), AWS Secrets Manager (via `aws/aws-sdk-php`), or Laravel’s built-in `.env` files for simpler needs. Bella Baxter’s E2EE and versioned snapshots are unique, but alternatives may offer tighter Laravel integrations.
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.
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed