async-aws/core
AsyncAws Core provides the shared foundation for AsyncAws AWS clients, including request signing, HTTP utilities, configuration and credential handling. Also includes an STS client for authentication. Install via composer and build AWS integrations with a lightweight SDK.
aws/aws-sdk-php) while maintaining compatibility with AWS services.us-isob-west-1, eu-isoe-west-1) without vendor lock-in.ResultMockFactory for unit/integration tests (e.g., mocking S3 responses, EC2 errors).debug config) and exception handling for security-sensitive operations (e.g., KMS, SecretsManager).aws/aws-sdk-php in monolithic apps by leveraging the same AwsClientFactory pattern.Adopt if:
aws/aws-sdk-php (e.g., 50MB+ vs. ~10MB for async-aws/core).Look elsewhere if:
aws/aws-sdk-php suffices.aws/aws-sdk-php or aws-sdk-php-graphql).reactphp/aws-sdk."This package lets us modernize our AWS integrations with faster, non-blocking PHP code—critical for scaling serverless apps and reducing Lambda timeouts. It’s 10x lighter than the legacy SDK, cuts CI/CD flakiness with built-in mocking, and future-proofs us for multi-region deployments. By adopting this, we align with Symfony’s async-first philosophy and reduce technical debt from monolithic SDKs."
Key Metrics to Track:
ResultMockFactory).*"This is the Symfony-native AWS SDK for PHP. Here’s why it’s a game-changer:
await with Laravel Queues or Symfony Messenger for fire-and-forget AWS tasks (e.g., S3 uploads, SQS sends).env('AWS_SKIP_TESTS') hacks.us-isob-west-1) and services (Bedrock, S3 Vectors) before the legacy SDK.Migration Path:
aws/aws-sdk-php service-by-service (e.g., swap S3 client first).AwsClientFactory to reuse existing config (e.g., ~/.aws/credentials)."*Trade-offs:
aws/aws-sdk-php or symfony/amazon-s3 for CLI tools).How can I help you explore Laravel packages today?