async-aws/ssm
Async AWS SSM client for PHP. Interact with AWS Systems Manager to read and manage Parameter Store values and other SSM operations using non-blocking, asynchronous HTTP calls—ideal for Laravel and modern PHP apps needing efficient AWS integrations.
async-aws/ssm package provides a read-only SSM (Systems Manager) client for AWS, enabling asynchronous retrieval of parameters, secrets, or configuration data from AWS SSM Parameter Store or Secrets Manager. This is particularly valuable for:
file_get_contents for local configs) are undesirable.Aws\Ssm\SsmClient to an interface).config/app.php with SSM-backed values at runtime).aws/aws-sdk-php) can coexist or be replaced.Laravel\Async or spatie/async).fruitcake/laravel-aws) could arise. Mitigate via composer strict versioning.GuzzleHttp\Promise) may be needed.mocksaws/aws)?AppServiceProvider:
$this->app->singleton('ssm', function ($app) {
return new AsyncAws\Ssm\SsmClient([
'region' => config('services.aws.region'),
'credentials' => $app['aws']->credentials(),
]);
});
config/services.php to include SSM-specific settings (e.g., cache TTL, parameter paths).getParameterAsync).SSMParameterFetcherJob).SSMConfigMiddleware).DB_DATABASE) with SSM params in a non-critical feature.config/app.php) to use SSM for dynamic values.try-catch or feature flags).aws/aws-sdk-php is compatible (v3.x). Avoid conflicts with other AWS packages (e.g., fruitcake/laravel-aws).Laravel\Async or spatie/async.async-aws/ssm to composer.json with strict versioning.ParameterStore with /app/config/versioned paths.try-catch with AsyncAws\Exception\SsmException).aws ssm get-parameter for manual testing.How can I help you explore Laravel packages today?