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

Aws Secrets Bundle Laravel Package

vpyzhyk/aws-secrets-bundle

A Symfony bundle that pulls secrets from AWS Secrets Manager into your application configuration at runtime, keeping credentials out of env files and source control. Simple setup for PHP apps.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

Build vs. buy for secrets management. The core decision this package informs is whether to adopt AWS Secrets Manager as the source of truth for application configuration and credentials, versus continuing to ship secrets via environment variables or .env files baked into deploy pipelines. vyzhyk/aws-secrets-bundle is the thin glue that pulls Secrets Manager values into the Symfony DI container at runtime — it does not replace Secrets Manager, it just removes the custom bootstrap code you'd otherwise write and maintain.

Roadmap sequencing for a security/compliance workstream. If SOC 2, ISO 27001, or an enterprise security review is on the roadmap, "secrets are fetched at boot from a managed vault and never stored in the repo" is a control auditors ask about directly. This package is a single-sprint enabler for that control rather than a multi-quarter platform project.

Deployment topology decisions. Adopting a runtime secret-fetch pattern implies the app needs IAM permissions (task role, instance profile, or IRSA on EKS) and network reachability to the Secrets Manager endpoint. That dependency has downstream consequences for how you run containers, so it's a decision that touches infra, not just app code.

A caveat a PM should surface early: despite being framed here as a Laravel/PHP package, this is a Symfony bundle — it registers a bundle and manipulates the Symfony dependency-injection container. It is not usable in a Laravel application without meaningful adaptation. If the product surface is Laravel, this package is the wrong tool and you should look at aws/aws-sdk-php directly or a Laravel-specific secrets package.

When to Consider This Package

Consider it when all of the following hold:

  • The application is Symfony (not Laravel, not plain PHP), on a version compatible with the symfony/dependency-injection ^7.0 constraint introduced in 3.0.1.
  • You have already committed to AWS Secrets Manager as the configuration store, or are actively migrating to it.
  • You want the DI-container integration (parameter injection at container build/boot) rather than ad-hoc SDK calls in service code.
  • Your team is small enough that writing and owning ~100 lines of container-extension code is a real cost, and a community package is acceptable.

Look elsewhere when:

  • You're on Laravel. This is a Symfony bundle; the container abstraction doesn't transfer.
  • You're on Symfony 6.x and not ready to upgrade. The 3.0.1 release raised symfony/dependency-injection to ^7.0 in what is nominally a patch release. That is an install-breaking change for Symfony 6 projects, and shipping it as 3.0.1 rather than 3.1.0 signals loose semantic-versioning discipline. Pin explicitly and test upgrades.
  • You need vendor support or a security-reviewed dependency. This is a single-maintainer package with a very small contributor base; 3.0.1 appears to be the maintainer's own first contribution. There is no evidence of an audit, and the release is thin on verification detail. For a control that auditors will ask about, that risk profile matters.
  • You need more than static secret injection — rotation callbacks, caching layers, per-request refresh, or fine-grained cache invalidation. Those will be your code to write.
  • Your secrets story is already solved by your orchestrator (e.g. External Secrets Operator syncing into Kubernetes Secrets), in which case a PHP-level bundle is redundant.

The 3.0.1 changes themselves — a dependency constraint bump and namespace fixes — are maintenance, not features. The namespace fix is mildly reassuring (it suggests the 3.0.0 release shipped with broken autoloading or incorrect class paths, so 3.0.0 was likely unusable); the DI bump is the item that actually affects adoption. Net: this release makes 3.0.x installable, but doesn't change the strategic picture.

How to Pitch It (Stakeholders)

To executives: This is a small, low-cost piece of plumbing that lets us stop storing database passwords and API keys in environment files and pull them from AWS's managed secret store instead. It's the kind of change that shortens security questionnaires and satisfies a common audit control. The trade-off is that it's a single-maintainer open-source component rather than a supported product, so we should treat it as a replaceable convenience layer — if it becomes a problem, swapping it for ~100 lines of our own code is a day of work. Recommended position: pilot it, don't standardize on it.

To engineering: This is a Symfony bundle that wires AWS Secrets Manager into the DI container. Two things to know before you pick it up. First, it is Symfony-only — it is not a Laravel package and does not apply if the service in question is a Laravel app. Second, release 3.0.1 bumped symfony/dependency-injection to ^7.0 as a patch release, which means Symfony 6 projects will fail to resolve it; pin the version deliberately and check your framework version before adding it. The release also fixes namespaces, which strongly suggests 3.0.0 had broken autoloading — start at 3.0.1, don't inherit an older pin.

The ask: a one-sprint spike on a non-production service to confirm IAM wiring, cold-start latency impact, and whether the bundle's caching behavior is sufficient. If those check out, adopt for new Symfony services; keep Laravel services on a separate path.

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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle