[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8297":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},8297,"aws-sdk-php","aws\u002Faws-sdk-php","aws","Official repository of the AWS SDK for PHP (@awsforphp)","http:\u002F\u002Faws.amazon.com\u002Fsdkforphp",null,"PHP",6189,1243,205,14,0,1,10,40.28,"Apache License 2.0",false,"master",[],"2026-06-12 02:01:51","# AWS SDK for PHP - Version 3\n\n[![Total Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Faws\u002Faws-sdk-php.svg?style=flat)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Faws\u002Faws-sdk-php)\n[![Apache 2 License](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fl\u002Faws\u002Faws-sdk-php.svg?style=flat)](http:\u002F\u002Faws.amazon.com\u002Fapache-2-0\u002F)\n[![Gitter](https:\u002F\u002Fbadges.gitter.im\u002Faws\u002Faws-sdk-php.svg)](https:\u002F\u002Fgitter.im\u002Faws\u002Faws-sdk-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Faws\u002Faws-sdk-php\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Faws\u002Faws-sdk-php)\n\nThe **AWS SDK for PHP** makes it easy for developers to access [Amazon Web\nServices][aws] in their PHP code, and build robust applications and software\nusing services like Amazon S3, Amazon DynamoDB, Amazon Glacier, etc. You can\nget started in minutes by [installing the SDK through Composer][docs-installation]\nor by downloading a single zip or phar file from our [latest release][latest-release].\n\nJump To:\n* [Getting Started](#Getting-Started)\n* [Quick Examples](#Quick-Examples)\n* [Getting Help](#Getting-Help)\n* [Features](#Features)\n* [Contributing](#Contributing)\n* [More Resources](#Resources)\n* [Related AWS Projects](#Related-AWS-Projects)\n\n## Getting Started\n\n1. **Sign up for AWS** – Before you begin, you need to\n   sign up for an AWS account and retrieve your [AWS credentials][docs-signup].\n2. **Minimum requirements** – To run the SDK, your system will need to meet the\n   [minimum requirements][docs-requirements], including having **PHP >= 8.1**.\n   We highly recommend having it compiled with the cURL extension and cURL\n   7.16.2+ compiled with a TLS backend (e.g., NSS or OpenSSL).\n3. **Install the SDK** – Using [Composer] is the recommended way to install the\n   AWS SDK for PHP. The SDK is available via [Packagist] under the\n   [`aws\u002Faws-sdk-php`][install-packagist] package. If Composer is installed globally on your system, you can run the following in the base directory of your project to add the SDK as a dependency:\n   ```\n   composer require aws\u002Faws-sdk-php\n   ```\n   Please see the\n   [Installation section of the User Guide][docs-installation] for more\n   detailed information about installing the SDK through Composer and other\n   means.\n4. **Using the SDK** – The best way to become familiar with how to use the SDK\n   is to read the [User Guide][docs-guide]. The\n   [Getting Started Guide][docs-quickstart] will help you become familiar with\n   the basic concepts.\n5. **Removing unused services** — To date, there are over 400 AWS services available for use with this SDK.\n   You will likely not need them all. If you use Composer and would like to learn more about this feature,\n    please read the [linked documentation][docs-script-composer].\n\n\n## Quick Examples\n\n### Create an Amazon S3 client\n\n```php\n\u003C?php\n\u002F\u002F Require the Composer autoloader.\nrequire 'vendor\u002Fautoload.php';\n\nuse Aws\\S3\\S3Client;\n\n\u002F\u002F Instantiate an Amazon S3 client.\n$s3 = new S3Client([\n    'version' => 'latest',\n    'region'  => 'us-west-2'\n]);\n```\n\n### Upload a file to Amazon S3\n\n```php\n\u003C?php\n\u002F\u002F Upload a publicly accessible file. The file size and type are determined by the SDK.\ntry {\n    $s3->putObject([\n        'Bucket' => 'my-bucket',\n        'Key'    => 'my-object',\n        'Body'   => fopen('\u002Fpath\u002Fto\u002Ffile', 'r'),\n        'ACL'    => 'public-read',\n    ]);\n} catch (Aws\\S3\\Exception\\S3Exception $e) {\n    echo \"There was an error uploading the file.\\n\";\n}\n```\n\n## Getting Help\n\nPlease use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.\n\n* Ask a question on [StackOverflow](https:\u002F\u002Fstackoverflow.com\u002F) and tag it with [`aws-php-sdk`](http:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Faws-php-sdk)\n* Come join the AWS SDK for PHP [gitter](https:\u002F\u002Fgitter.im\u002Faws\u002Faws-sdk-php)\n* Open a support ticket with [AWS Support](https:\u002F\u002Fconsole.aws.amazon.com\u002Fsupport\u002Fhome\u002F)\n* If it turns out that you may have found a bug, please [open an issue](https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php\u002Fissues\u002Fnew\u002Fchoose)\n\nThis SDK implements AWS service APIs. For general issues regarding the AWS services and their limitations, you may also take a look at the [Amazon Web Services Discussion Forums](https:\u002F\u002Fforums.aws.amazon.com\u002F).\n\n\n## Maintenance and support for SDK major versions\n\nFor information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the [AWS SDKs and Tools Shared Configuration and Credentials Reference Guide](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcredref\u002Flatest\u002Frefdocs\u002Foverview.html):\n\n* [AWS SDKs and Tools Maintenance Policy](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcredref\u002Flatest\u002Frefdocs\u002Fmaint-policy.html)\n* [AWS SDKs and Tools Version Support Matrix](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcredref\u002Flatest\u002Frefdocs\u002Fversion-support-matrix.html)\n\n\n### Opening Issues\n\nIf you encounter a bug with `aws-sdk-php` we would like to hear about it. Search the existing issues and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of `aws-sdk-php`, PHP version and OS you’re using. Please include a stack trace and a simple workflow to reproduce the case when appropriate, too.\n\nThe GitHub issues are intended for bug reports and feature requests. For help and questions with using `aws-sdk-php` please make use of the resources listed in the Getting Help section. There are limited resources available for handling issues and by keeping the list of open issues lean we can respond in a timely manner.\n\n## Features\n\n* Provides easy-to-use HTTP clients for all supported AWS\n  [services][docs-services], [regions][docs-rande], and authentication\n  protocols.\n* Is built on [Guzzle][guzzle-docs], and utilizes many of its features,\n  including persistent connections, asynchronous requests, middlewares, etc.\n* Provides convenience features including easy result pagination via\n  [Paginators][docs-paginators], [Waiters][docs-waiters], and simple\n  [Result objects][docs-results].\n* Provides a [multipart uploader tool][docs-s3-multipart] for Amazon S3 and\n  Amazon Glacier that can be paused and resumed.\n* Provides an [Amazon S3 Stream Wrapper][docs-streamwrapper], so that you can\n  use PHP's native file handling functions to interact with your S3 buckets and\n  objects like a local filesystem.\n* Provides an [Amazon S3 Encryption Client][docs-s3-encryption] for creating and interacting with encrypted objects in your S3 buckets.\n* Provides the [Amazon DynamoDB Session Handler][docs-ddbsh] for easily scaling\n  sessions on a fast, NoSQL database.\n* Automatically uses [IAM Instance Profile Credentials][aws-iam-credentials] on\n  configured Amazon EC2 instances.\n\n## Contributing\n\nWe work hard to provide a high-quality and useful SDK for our AWS services, and we greatly value feedback and contributions from our community. Please review our [contributing guidelines](.\u002FCONTRIBUTING.md) before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.\n\n\n## Resources\n\n* [User Guide][docs-guide] – For both getting started and in-depth SDK usage information\n* [API Docs][docs-api] – For details about operations, parameters, and responses\n* [Blog][sdk-blog] – Tips & tricks, articles, and announcements\n* [Sample Project][sdk-sample] - A quick, sample project to help get you started\n* [Forum][sdk-forum] – Ask questions, get help, and give feedback\n* [Issues][sdk-issues] – Report issues, submit pull requests, and get involved\n  (see [Apache 2.0 License][sdk-license])\n\n## Related AWS Projects\n\n* [AWS Service Provider for Laravel][mod-laravel]\n* [AWS SDK ZF2 Module][mod-zf2]\n* [AWS Service Provider for Silex][mod-silex]\n* [AWS SDK Bundle for Symfony][mod-symfony]\n* [Amazon SNS Message Validator for PHP][sns-validator] - SNS validator without requiring SDK\n* [Guzzle Version 7][guzzle-docs] – PHP HTTP client and framework\n* For Version 2 of the SDK (deprecated):\n  * [User Guide][docs-guide-v2]\n  * [API Docs][docs-api-v2]\n* [Serverless LAMP stack guide][serverless-LAMP-stack-guide] - A guide to building and deploying a serverless PHP application\n* Other [AWS SDKs & Tools][aws-tools] (e.g., js, cli, ruby, python, java, etc.)\n\n[sdk-website]: http:\u002F\u002Faws.amazon.com\u002Fsdkforphp\n[sdk-forum]: https:\u002F\u002Fforums.aws.amazon.com\u002Fforum.jspa?forumID=80\n[sdk-issues]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php\u002Fissues\n[sdk-license]: http:\u002F\u002Faws.amazon.com\u002Fapache2.0\u002F\n[sdk-blog]: https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fdeveloper\u002Fcategory\u002Fphp\u002F\n[sdk-sample]: http:\u002F\u002Faws.amazon.com\u002Fdevelopers\u002Fgetting-started\u002Fphp\n\n[install-packagist]: https:\u002F\u002Fpackagist.org\u002Fpackages\u002Faws\u002Faws-sdk-php\n[latest-release]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php\u002Freleases\n\n[docs-api]: http:\u002F\u002Fdocs.aws.amazon.com\u002Faws-sdk-php\u002Fv3\u002Fapi\u002Findex.html\n[docs-guide]: http:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fwelcome.html\n[docs-api-v2]: http:\u002F\u002Fdocs.aws.amazon.com\u002Faws-sdk-php\u002Fv2\u002Fapi\u002Findex.html\n[docs-guide-v2]: http:\u002F\u002Fdocs.aws.amazon.com\u002Faws-sdk-php\u002Fv2\u002Fguide\u002Findex.html\n[docs-contribution]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md\n[docs-migration]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fgetting-started_migration.html\n[docs-signup]: https:\u002F\u002Faws.amazon.com\u002Fpremiumsupport\u002Fknowledge-center\u002Fcreate-access-key\u002F\n[docs-requirements]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fgetting-started_requirements.html\n[docs-installation]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fgetting-started_installation.html\n[docs-quickstart]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fwelcome.html#getting-started\n[docs-paginators]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fguide_paginators.html\n[docs-waiters]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fguide_waiters.html\n[docs-results]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fgetting-started_basic-usage.html#result-objects\n[docs-exceptions]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fgetting-started_basic-usage.html#handling-errors\n[docs-wire-logging]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Ffaq.html#how-can-i-see-what-data-is-sent-over-the-wire\n[docs-ddbsh]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fservice_dynamodb-session-handler.html\n[docs-services]: https:\u002F\u002Faws.amazon.com\u002Fproducts\u002F\n[docs-rande]: http:\u002F\u002Fdocs.aws.amazon.com\u002Fgeneral\u002Flatest\u002Fgr\u002Frande.html\n[docs-streamwrapper]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fs3-stream-wrapper.html\n[docs-s3-transfer]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fs3-transfer.html\n[docs-s3-multipart]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fs3-multipart-upload.html\n[docs-s3-encryption]: https:\u002F\u002Fdocs.aws.amazon.com\u002Fsdk-for-php\u002Fv3\u002Fdeveloper-guide\u002Fs3-encryption-client.html\n[docs-script-composer]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php\u002Ftree\u002Fmaster\u002Fsrc\u002FScript\u002FComposer\n\n[aws]: http:\u002F\u002Faws.amazon.com\n[aws-iam-credentials]: http:\u002F\u002Fdocs.aws.amazon.com\u002FAWSEC2\u002Flatest\u002FUserGuide\u002FUsingIAM.html#UsingIAMrolesWithAmazonEC2Instances\n[aws-tools]: http:\u002F\u002Faws.amazon.com\u002Ftools\n[guzzle-docs]: http:\u002F\u002Fguzzlephp.org\n[composer]: http:\u002F\u002Fgetcomposer.org\n[packagist]: http:\u002F\u002Fpackagist.org\n[psr-7]: https:\u002F\u002Fgithub.com\u002Fphp-fig\u002Ffig-standards\u002Fblob\u002Fmaster\u002Faccepted\u002FPSR-7-http-message.md\n[psr-4]: https:\u002F\u002Fgithub.com\u002Fphp-fig\u002Ffig-standards\u002Fblob\u002Fmaster\u002Faccepted\u002FPSR-4-autoloader.md\n[psr-1]: https:\u002F\u002Fgithub.com\u002Fphp-fig\u002Ffig-standards\u002Fblob\u002Fmaster\u002Faccepted\u002FPSR-1-basic-coding-standard.md\n[psr-2]: https:\u002F\u002Fgithub.com\u002Fphp-fig\u002Ffig-standards\u002Fblob\u002Fmaster\u002Faccepted\u002FPSR-2-coding-style-guide.md\n\n[mod-laravel]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php-laravel\n[mod-zf2]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php-zf2\n[mod-silex]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php-silex\n[mod-symfony]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-sdk-php-symfony\n[sns-validator]: https:\u002F\u002Fgithub.com\u002Faws\u002Faws-php-sns-message-validator\n[serverless-LAMP-stack-guide]: https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fphp-examples-for-aws-lambda\n","AWS SDK for PHP 是一个官方库，旨在帮助开发者在其PHP应用程序中轻松访问亚马逊网络服务（如Amazon S3, Amazon DynamoDB等）。该SDK支持通过Composer安装，并要求PHP版本至少为8.1，推荐使用cURL扩展以获得最佳性能。其核心功能包括提供与多种AWS服务交互的API接口、自动处理请求签名及错误重试机制等。适用于需要集成AWS服务到PHP应用的各种场景，无论是构建简单的脚本还是复杂的企业级解决方案。此外，它还提供了丰富的文档和示例代码，方便用户快速上手。",2,"2026-06-11 03:17:13","top_language"]