google/cloud-secret-manager
Idiomatic PHP client for Google Cloud Secret Manager. Install via Composer and authenticate with Google Cloud. Supports REST and gRPC, with generated V1 client classes for managing secrets and versions. GA and maintained within Google Cloud PHP.
env:production, tenant:acme) to dynamically fetch secrets for staging, production, or tenant-specific configurations without redeploying. Ideal for SaaS platforms or feature flag management.MAIL_PASSWORD) to a previous version without redeploying, ensuring business continuity.FEATURE_X_ENABLED) in Secret Manager. Integrate with Laravel packages like Spatie’s Feature Flags or Laravel Nova for runtime toggles and A/B testing, enabling agile product development.roles/secretmanager.secretAccessor) and least-privilege principles..env files, hardcoded credentials, or third-party tools (e.g., Vault, AWS Secrets Manager).roles/secretmanager.secretAccessor, roles/secretmanager.admin) for least-privilege access to secrets."We’re replacing insecure .env files and hardcoded credentials with Google Cloud Secret Manager, a fully managed, auditable, and compliant solution for Laravel’s sensitive data. This move will:
"The Google Cloud Secret Manager PHP package provides a secure, scalable, and compliant way to manage Laravel secrets. Here’s why it’s a build vs. buy win:
.env files with dynamic secret fetching via environment variables or runtime injection, using Laravel’s configuration system."This package lets you replace .env files with Google Cloud Secret Manager, giving you:
How can I help you explore Laravel packages today?