# aws/aws-sdk-php

Official repository of the AWS SDK for PHP (@awsforphp)

Repository: https://github.com/aws/aws-sdk-php
Canonical: https://ross.abutalabs.com/products/aws-sdk-php
Homepage: http://aws.amazon.com/sdkforphp
Language: PHP
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T18:40:37+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 5068, "days_push": 7, "days_rel": 7, "gap_med": 1.0, "n_releases_24m": 487}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6203, forks 1253 (observed 2026-08-28T04:09:39.877314+00:00)

## What it is
The official AWS SDK for PHP (version 3), providing idiomatic PHP client APIs for over 400 Amazon Web Services including S3, DynamoDB, EC2, and Glacier. It handles credential management, retries, serialization, pagination, waiters, and asynchronous requests via promises, and is extensible through handlers and middleware.

## Use cases
- upload files to s3 from php
- use dynamodb in a php application
- call aws services from php code
- manage aws credentials in php
- poll aws resources until ready
- query paginated aws api results in php

## When to choose
- you are building a PHP application that integrates with AWS services
- you need official, maintained clients covering the full AWS service catalog
- you want built-in retries, pagination, waiters, and async promises
- you need middleware/handler extensibility for AWS API calls

## When to avoid
- your project is not in PHP
- you only target a non-AWS cloud provider
- you need a lightweight client for a single service and want to avoid the SDK's footprint (though Composer can strip unused services)

## Facets
- artifact type: library
- maturity: stable
- function: sdk, http-client, middleware, serialization, auth, caching
- domain: cloud-computing, developer-tools, apis, backend, web-development
- platform: php, cross-platform
- tags: aws, amazon-web-services, s3, dynamodb, composer, cloud-sdk, php-library, api-client

## Member repositories
- aws/aws-sdk-php (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:39.877314+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:19.439216+00:00, confidence not recorded.
  - readme: https://github.com/aws/aws-sdk-php (fetched 2026-08-28T04:09:39.877314+00:00, sha 4078f334079c)
  - homepage: http://aws.amazon.com/sdkforphp (fetched 2026-08-29T08:43:55.863404+00:00, sha 9d6b8d2c8cf5)
  - site_page: https://aws.amazon.com/getting-started?nc2=h_dsc_aa_gs (fetched 2026-08-29T08:43:55.869006+00:00, sha f35fd0664950)
  - site_page: https://aws.amazon.com/about-aws/global-infrastructure?nc2=h_dsc_aa_gi (fetched 2026-08-29T08:43:55.871004+00:00, sha 79a446e5fbd1)
  - site_page: https://aws.amazon.com/s3/pricing?nc2=h_pr_s3 (fetched 2026-08-29T08:43:55.876808+00:00, sha 97bbf99c3793)
  - site_page: https://aws.amazon.com/bedrock/pricing?nc2=h_pr_br (fetched 2026-08-29T08:43:55.880249+00:00, sha 4ccc538a3696)
  - site_page: https://aws.amazon.com/rds/pricing?nc2=h_pr_rds (fetched 2026-08-29T08:43:55.881975+00:00, sha 538280f30c8a)
  - site_page: https://aws.amazon.com/pricing?nc2=h_pr_hub (fetched 2026-08-29T08:43:55.873139+00:00, sha e2abd01d7981)
  - site_page: https://aws.amazon.com/savingsplans?nc2=h_pr_sp (fetched 2026-08-29T08:43:55.875009+00:00, sha 9ff3c7ad93e0)
  - site_page: https://aws.amazon.com/products/developer-tools/agent-toolkit-for-aws?nc2=h_dsc_ex_s5 (fetched 2026-08-29T08:43:55.866395+00:00, sha 3cc21b596f92)
- Data as of 2026-08-30T08:39:29.467469+00:00.
