async-aws/core
Core package to integrate with AWS. This is a lightweight AWS SDK provider by AsyncAws.
1.29.2
48M downloads/mo
#459 most downloaded on Packagist
async-aws/core
What this package is like to depend on
Last release 25 days ago
29 Jul 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 56 of 56 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
56 releases · first in 2020
6 releases in the last 12 months
see the full history below
Release timeline
56 releases · Feb 2020 to Jul 2026
2021
2022
2023
2024
2025
2026
Releases
latest 56-
1.29.229 Jul 2026 -
1.29.101 Jul 2026Release notes
Open source →Changed
- ResultMockFactory: add generic
@templateannotations for more precise static analysis
- ResultMockFactory: add generic
-
1.29.018 Apr 2026Release notes
Open source →Added
- AwsClientFactory: add
imageBuilder()method for the newasync-aws/image-builderclient - AwsClientFactory: add
ec2()method for the newasync-aws/ec2client - XmlAwsErrorFactory: parse EC2-style error envelopes (
<Response><Errors><Error>...)
Fixed
- SignerV4: Fix presign request for S3 when request contains user-defined metadata
- AwsClientFactory: add
-
1.28.116 Feb 2026Release notes
Open source →Changed
- Remove redundant ext-json requirement
Fixed
- SignerV4: Fix presign request for some S3 compatible third services
-
1.28.016 Jan 2026Release notes
Open source →Added
- AWS api-change: Added
us-isob-west-1region - Added
DescribeLogGroupsmethod - Support for BedrockAgent
- Support for AWS S3 Vectors
- AWS api-change: Added
eusc-de-east-1region
Dependency bumped
- Drop support for PHP versions lower than 8.2
Changed
- Apply new CodingStandard from latest php-cs-fixer.
- Fix PHP 8.5 deprecation by avoiding using
nullas an array offset. - Harden code against error cases
- AWS enhancement: Documentation updates.
- Use a more stable sorting for the list of generated region metadata
Fixed
- Buffer the response in temporary file to avoid issues when stream is used by another request's body
- SignerV4: Fix signing request during DST change
- AWS api-change: Added
-
1.27.108 Sep 2025Release notes
Open source →Fixed
- SignerV4: fix sort of query parameters to build correct canonical query string
-
1.27.011 Aug 2025Release notes
Open source →Added
- Support for Symfony 8
Changed
ResultMockFactorydoes not callReflectionProperty::setAccessible()on PHP 8.1+
-
1.26.012 May 2025Release notes
Open source →Added
- AWS api-change: Added
eu-isoe-west-1region
Changed
- Normalize the composer requirements
- Sort exception alphabetically.
- AWS api-change: Added
-
1.25.005 Mar 2025Release notes
Open source →Added
- AWS api-change: Added
us-isof-east-1andus-isof-south-1regions - Support for BedrockRuntime
- AWS api-change: Added
-
1.24.115 Jan 2025Release notes
Open source →Fixed
- Better detection and error messages for when SSO is used but required packages are not installed.
-
1.24.015 Jan 2025Release notes
Open source →Added
- Support for SsoOidc
- Support for SSO authentication
Changed
- AWS enhancement: Documentation updates.
-
1.23.024 Nov 2024Release notes
Open source →Added
- Added support for EKS Pod Identity
Changed
- use strict comparison
null !==instead of! - Fix CS
- AWS enhancement: Documentation updates.
-
1.22.109 Oct 2024Release notes
Open source →Changed
- Enable compiler optimization for the
sprintffunction. - Avoid calls to spl_object_ methods when computing cache key.
- Added SimpleMockedResponse to response of ResultMockFactory.
- Enable compiler optimization for the
-
1.22.003 Jul 2024Release notes
Open source →Added
- Added support for exception based on response http status code only.
-
1.21.027 Feb 2024 -
1.20.113 Dec 2023Release notes
Open source →Changed
- Allow passing explicit null values for optional fields of input objects
- AWS enhancement: Documentation updates.
Fixed
- Treat empty env variable as undefined
-
1.20.007 Aug 2023Release notes
Open source →Added
- Support for LocationService
- Support for hostPrefix in requests
- AWS api-change: API updates for the AWS Security Token Service
- Support for SSO credentials
- Avoid overriding the exception message with the raw message
Changed
- Improve parameter type and return type in phpdoc
-
1.19.020 Jun 2023Release notes
Open source →Added
- Support for Symfony 7
- Support for Athena
- Support for MediaConvert
- Support for IMDS v2 authentication
- Support for using endpoint discovery with parameters passed in the query string or the path
Fixed
- Fix potential malformed URI in discovered endpoints
-
1.18.128 Feb 2023Release notes
Open source →Changed
- AWS enhancement: Documentation updates.
- Fix deprecation by adding return type on reset methods
-
1.18.030 Nov 2022 -
1.17.001 Aug 2022 -
1.16.001 Jul 2022 -
1.15.027 May 2022Release notes
Open source →Added
- Support for CodeBuild
- Support for CodeCommit
- Support for TimestreamQuery
- Support for TimestreamWrite
- AWS enhancement: Documentation updates.
- Reverted the automated decoration of the injected HttpClient
- Added an AwsHttpClientFactory to help people creating retryable clients
- Add 403 errors in the list of potential retryiable operations
Changed
- Set default value to
falsefor thesendChunkedBodyoption.
-
1.14.001 Mar 2022Release notes
Open source →Added
- Make the injected HttpClient decorated by our
RetryableHttpClient - Support for KMS
Fixed
- Issue with symfony http-client when posting empty payload
- Make the injected HttpClient decorated by our
-
1.13.020 Dec 2021Release notes
Open source →Added
- AWS api-change: Added
us-iso-west-1region - AWS api-change: Used regional endpoint for
usregions - AWS enhancement: Documentation updates.
- Support for AppSync
- Support for XRay
- AWS api-change: Added
-
1.12.002 Oct 2021Release notes
Open source →Added
- Support for Firehose
- Support for ElastiCache
- Support for CloudWatchClient
- Support for psr/log 2.0 and 3.0
-
1.11.029 Jul 2021Release notes
Open source →Added
- Support for StepFunctions
- Support for Kinesis
- Support for SecretsManager
- Support for Symfony contracts v3
- AWS enhancement: Documentation updates for AWS Security Token Service.
Fixed
- Wrap the HttpClient's decoding exception in UnparsableResponse.
-
1.10.020 May 2021Release notes
Open source →Added
- AWS enhancement: STS now supports assume role with Web Identity using JWT token length upto 20000 characters
- AWS api-change: This release adds the SourceIdentity parameter that can be set when assuming a role.
- Support for Symfony 6
-
1.9.219 Apr 2021Release notes
Open source →Fixed
- Support for psr/cache v2 and v3
- Fix forming signature with multiple spaces
-
1.9.124 Feb 2021Release notes
Open source →Fixed
- Make sure mocked results have a response with
Response::$bodyDownloaded = true.
- Make sure mocked results have a response with
-
1.9.001 Feb 2021Release notes
Open source →Added
- Changed case of object's properties to camelCase.
- Added documentation in class headers.
- Removed
finalfromClientExceptionandServerException. - Make Responses thrown Business Exception when AwsErrorCode <-> Exception class mapping provided through RequestContext.
- Added domain exceptions.
- Improved Aws Error parsing by using specialized AwsErrorFactory.
Fixed
- Exception thrown twice by waiters.
-
1.8.016 Jan 2021 -
1.7.222 Dec 2020Release notes
Open source →Changed
- Make sure we can get credentials even if the cache storage fails
- Clear
realpathcache to make sure we get the latest credentials token
-
1.7.111 Dec 2020Release notes
Open source →Fixed
- Fix for an edge case where aws config file could be a directory
- Fix when AWS profile name is only digits
-
1.7.030 Nov 2020Release notes
Open source →Added
- A
AwsRetryStrategyto define what HTTP request we retry - Support for Elastic Container Registry (ECR) in
AwsClientFactory - Read "region" from ini files.
- Support for hard coded
roleArninConfigurationProvider - Added exception
AsyncAws\Core\Exception\UnexpectedValueandAsyncAws\Core\Exception\UnparsableResponse
Fixed
- Merge configuration if a profile is spread out over multiple files. Ie if
[profile company]is defined in both~/.aws/configand~/.aws/credentials. - All exceptions thrown must extend
AsyncAws\Core\Exception\Exception
- A
-
1.6.026 Sep 2020 -
1.5.018 Sep 2020Release notes
Open source →Added
- Support for
debugconfiguration option to log HTTP requests and responses - Use Symfony
RetryableHttpClientwhen available.
Fixed
- Allow signing request with non-standard region when using custom endpoint?
- Fix unresolved Env Variable in some php configuration
- Support for
-
1.4.229 Aug 2020Release notes
Open source →Fixed
- Fixed logic in
AbstractApi::getSigner()when passing@regionto an API operation
- Fixed logic in
-
1.4.129 Aug 2020Release notes
Open source →Fixed
- Make sure passing
@regionto an API operation has effect. - Check that both AWS access id and secret exists before using them.
- Make sure passing
-
1.4.021 Aug 2020Release notes
Open source →Added
- Allow to pass additional content to
ResultMockFactory::createFailing()
- Allow to pass additional content to
-
1.3.002 Aug 2020Release notes
Open source →Added
- Support for PHP 8
- Added second parameter
$preferredChunkSizetoStreamFactory::create() - Support for CloudFront in
AwsClientFactory - Support for RdsDataService in
AwsClientFactory
Changed
- Add more context to error logs
- Log level for 404 responses changed to "info".
Fixed
- Allows non-AWS regions when using custom endpoints
-
1.2.021 May 2020Release notes
Open source →Added
- Support for EventBridge in
AwsClientFactory - Support for IAM in
AwsClientFactory - Add a
PsrCacheProviderandSymfonyCacheProviderto persist credentials in a cache pool - Add a
Credential::adjustExpireDatemethod for adjusting the time according to the time difference with AWS clock - Support for global and regional endpoints
- Add a
Configuration::optionExiststo allow third parties to check if an option is available (needed by libraries supporting several versions of core)
Deprecated
- Clients extending
AbstractApishould overridegetEndpointMetadata. The method will be abstract in 2.0 - Custom endpoints should not contain
%region%and%serviceplaceholder. They won't be replaced anymore in 2.0 - Protected methods
getServiceCode,getSignatureVersionandgetSignatureScopeNameof AbstractApi are deprecated and will be removed in 2.0
Fixed
- Fix signing of requests with a header containing a date (like
expiresinS3). - Fix thread safety regarding env vars by using
$_SERVERinstead ofgetenv().
- Support for EventBridge in
-
1.1.007 May 2020Release notes
Open source →Added
- Support for ECS Credentials Provider
- Support for Cognito Identity Provider client in
AwsClientFactory - Support for Cloud Watch Log client in
AwsClientFactory
Fixed
- Fixed invalid chunking of request with large body for most clients but S3. This version removed the invalid code from SignerV4 to make sure requests are not chunked.
- Use camelCase for all getter methods.
-
1.0.003 May 2020Release notes
Open source →Added
- Support for CodeDeploy client in
AwsClientFactory
Fixed
- Handle Aws Error type in JsonRest error responses
- Support for CodeDeploy client in
-
0.5.430 Apr 2020 -
0.5.325 Apr 2020Release notes
Open source →Added
- Support for SSM client in
AwsClientFactory - Support for Waiters in
ResultMockFactory
- Support for SSM client in
-
0.5.220 Apr 2020Release notes
Open source →Fixed
- Add support for
Content-Type: application/x-amz-json-1.1in test case.
- Add support for
-
0.5.115 Apr 2020Release notes
Open source →Added
- Add
Configuration::isDefaultmethods.
Fixed
- Allow mocking of Results classes named "*Result"
- Add
-
0.5.005 Apr 2020Release notes
Open source →Removed
- The input's
validate()function was merged with therequest()function. Configuration::isDefault().- Protected property
AbstractApi::$logger. AsyncAws\Core\StreamableBodyin favor ofAsyncAws\Core\Stream\ResponseBodyStream.
Added
- Add support for multiregion via
@regioninput parameter. - DynamoDB support.
ResultMockFactorywas updated withcreateFailing()and support for pagination.AbstractApi::presign().Result::wait()for multiplexing downloads.- Interface
AsyncAws\Core\Input. AsyncAws\Core\Stream\ResponseBodyResourceStreamandAsyncAws\Core\Stream\ResponseBodyStream.- Internal
AsyncAws\Core\Responseto encapsulate the HTTP client. - Internal
AsyncAws\Core\RequestContext. - Internal
AsyncAws\Core\Stream\RewindableStream.
Changed
- Exceptions will contain more information from the HTTP response.
- Moved STS value objects to a dedicated namespace.
- The
AsyncAws\Core\Sts\Input\*andAsyncAws\Core\Sts\ValueObject*classes are marked final. - Using
DateTimeImmutableinstead ofDateTimeInterface. - Protected properties
AbstractApi::$httpClient,AbstractApi::$configurationandAbstractApi::$credentialProviderare now private. AbstractApi::getResponse()has new signature. New optional second argument?RequestContext $context = nulland the return type isAsyncAws\Core\Response.- The
CredentialProviders andConfigurationare nowfinal. - Renamed
AsyncAws\Core\Stream\StreamtoAsyncAws\Core\Stream\RequestStream. - Renamed
AsyncAws\Core\StreamableBodyInterfacetoAsyncAws\Core\Stream\ResultStream. - The
ResultStream::getChunks()now returns a iterable of string.
Fixed
- Bugfix in
WebIdentityProvider
- The input's
-
0.4.014 Mar 2020Release notes
Open source →Removed
- Public
AbstractApi::request()was removed. - Protected function
AbstractApi::getEndpoint()was made private.
Added
- Test class
AsyncAws\Core\Test\SimpleStreamableBody
Changed
- Moved
AsyncAws\Core\Signer\RequesttoAsyncAws\Core\Request. - Added constructor argument to
AsyncAws\Core\Request::__construct()to support query parameters. - Renamed
AsyncAws\Core\Request::getUrl()toAsyncAws\Core\Request::getEndpoint() - Class
AsyncAws\Core\Stream\StreamFactoryis not internal anymore. - Removed
requestBody(),requestHeaders(),requestQuery()andrequestUri()input classes. They are replaced withrequest().
Fixed
- Fix Instance Provider Role fetching
- Public
-
0.3.309 Mar 2020Release notes
Open source →Added
- Added a
ResultMockFactoryto helps creating tests
Fixed
- Http method is replaced by PUT in REST calls
- Added a
-
0.3.209 Mar 2020Release notes
Open source →Fixed
Configurationdon't mix anymore attributes injected by php array and env variables.
-
0.3.107 Mar 2020Release notes
Open source →Added
AbstractApi::getConfiguration()
Fixed
- Make sure
Configuration::create(['foo'=>null])is using the default value of "foo".
-
0.3.028 Feb 2020Release notes
Open source →Added
- Requests can now be streamed
- Streamable request accepts iterable alongside string, callable, resource
- Support for getting credentials from Web Identity or OpenID Connect Federation. (
WebIdentityProvider)
Changed
- Rename namespace
SignersintoSigner.
-
0.2.025 Feb 2020Release notes
Open source →Added
- Class
AsyncAws\Core\Credentials\NullProvider - Methods
AwsClient::cloudFormation(),AwsClient::lambda(),AwsClient::sns() - Protected methods
Result::registerPrefetch()andResult::unregisterPrefetch() - Timeout parameter to
InstanceProvider::__construct()
Changed
- Removed
AwsClientand replaced it withAwsClientFactory - Class
AsyncAws\Core\Signer\Requestis marked as internal - Make sure behavior of calling
Result::resolve()is consistent
- Class
-
0.1.022 Feb 2020