laravel / ideas

Issues board used for Laravel internals discussions.
939 stars 28 forks source link

Async AWS as AWS SDK alternative #2230

Closed barryvdh closed 4 years ago

barryvdh commented 4 years ago

Recently Async AWS is released, which is not official but has a lot of support (mainly Symfony); https://async-aws.com/

It might be interesting to see how compatible this is with default Laravel services. Not perse for the async part, but also for the package size. This can be probably help with the Vapor vendor size:

https://async-aws.com/compare.html#dependencies-size By providing isolated package for each service, AsyncAws is ultra thin. For instance aws-async/s3 + aws-async/core weighs 0.6Mib, while official AWS PHP SDK weighs 22MiB regardless of the number of API services you use.

There are packages for DynamoDB, S3, SQS, Lambda and SES (not sure if Laravel uses more then that)

barryvdh commented 4 years ago

There even is a PR for Vapor now by @Nyholm https://github.com/laravel/vapor-core/pull/44 and a ticket for more Laravel Support: https://github.com/async-aws/aws/issues/547

barryvdh commented 4 years ago

Based on the comment in https://github.com/laravel/vapor-core/pull/44#issuecomment-625313748 I'm gonna close this for now.