CINXE.COM
What Is the AWS SDK for PHP Version 3? - AWS SDK for PHP
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>What Is the AWS SDK for PHP Version 3? - AWS SDK for PHP</title><meta name="viewport" content="width=device-width,initial-scale=1" /><meta name="assets_root" content="/assets" /><meta name="target_state" content="welcome" /><meta name="default_state" content="welcome" /><link rel="icon" type="image/ico" href="/assets/images/favicon.ico" /><link rel="shortcut icon" type="image/ico" href="/assets/images/favicon.ico" /><link rel="canonical" href="https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/welcome.html" /><meta name="description" content="AWS SDK for PHP Version 3 enables PHP developers to use Amazon Web Services in their PHP code." /><meta name="deployment_region" content="IAD" /><meta name="product" content="AWS SDK for PHP" /><meta name="guide" content="Developer Guide" /><meta name="abstract" content="Introduces the AWS SDK for PHP and walks you through simple examples to use the SDK for the first time. Also provides tips and links to advanced features and resources." /><meta name="guide-locale" content="en_us" /><meta name="tocs" content="toc-contents.json" /><link rel="canonical" href="https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/welcome.html" /><link rel="alternative" href="https://docs.aws.amazon.com/id_id/sdk-for-php/v3/developer-guide/welcome.html" hreflang="id-id" /><link rel="alternative" href="https://docs.aws.amazon.com/id_id/sdk-for-php/v3/developer-guide/welcome.html" hreflang="id" /><link rel="alternative" href="https://docs.aws.amazon.com/de_de/sdk-for-php/v3/developer-guide/welcome.html" hreflang="de-de" /><link rel="alternative" href="https://docs.aws.amazon.com/de_de/sdk-for-php/v3/developer-guide/welcome.html" hreflang="de" /><link rel="alternative" href="https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/welcome.html" hreflang="en-us" /><link rel="alternative" href="https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/welcome.html" hreflang="en" /><link rel="alternative" href="https://docs.aws.amazon.com/es_es/sdk-for-php/v3/developer-guide/welcome.html" hreflang="es-es" /><link rel="alternative" href="https://docs.aws.amazon.com/es_es/sdk-for-php/v3/developer-guide/welcome.html" hreflang="es" /><link rel="alternative" href="https://docs.aws.amazon.com/fr_fr/sdk-for-php/v3/developer-guide/welcome.html" hreflang="fr-fr" /><link rel="alternative" href="https://docs.aws.amazon.com/fr_fr/sdk-for-php/v3/developer-guide/welcome.html" hreflang="fr" /><link rel="alternative" href="https://docs.aws.amazon.com/it_it/sdk-for-php/v3/developer-guide/welcome.html" hreflang="it-it" /><link rel="alternative" href="https://docs.aws.amazon.com/it_it/sdk-for-php/v3/developer-guide/welcome.html" hreflang="it" /><link rel="alternative" href="https://docs.aws.amazon.com/ja_jp/sdk-for-php/v3/developer-guide/welcome.html" hreflang="ja-jp" /><link rel="alternative" href="https://docs.aws.amazon.com/ja_jp/sdk-for-php/v3/developer-guide/welcome.html" hreflang="ja" /><link rel="alternative" href="https://docs.aws.amazon.com/ko_kr/sdk-for-php/v3/developer-guide/welcome.html" hreflang="ko-kr" /><link rel="alternative" href="https://docs.aws.amazon.com/ko_kr/sdk-for-php/v3/developer-guide/welcome.html" hreflang="ko" /><link rel="alternative" href="https://docs.aws.amazon.com/pt_br/sdk-for-php/v3/developer-guide/welcome.html" hreflang="pt-br" /><link rel="alternative" href="https://docs.aws.amazon.com/pt_br/sdk-for-php/v3/developer-guide/welcome.html" hreflang="pt" /><link rel="alternative" href="https://docs.aws.amazon.com/zh_cn/sdk-for-php/v3/developer-guide/welcome.html" hreflang="zh-cn" /><link rel="alternative" href="https://docs.aws.amazon.com/zh_tw/sdk-for-php/v3/developer-guide/welcome.html" hreflang="zh-tw" /><link rel="alternative" href="https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/welcome.html" hreflang="x-default" /><meta name="feedback-item" content="AWS SDK for PHP" /><meta name="this_doc_product" content="AWS SDK for PHP" /><meta name="this_doc_guide" content="Developer Guide" /><script defer="" src="/assets/r/vendor4.js?version=2021.12.02"></script><script defer="" src="/assets/r/vendor3.js?version=2021.12.02"></script><script defer="" src="/assets/r/vendor1.js?version=2021.12.02"></script><script defer="" src="/assets/r/awsdocs-common.js?version=2021.12.02"></script><script defer="" src="/assets/r/awsdocs-doc-page.js?version=2021.12.02"></script><link href="/assets/r/vendor4.css?version=2021.12.02" rel="stylesheet" /><link href="/assets/r/awsdocs-common.css?version=2021.12.02" rel="stylesheet" /><link href="/assets/r/awsdocs-doc-page.css?version=2021.12.02" rel="stylesheet" /><script async="" id="awsc-panorama-bundle" type="text/javascript" src="https://prod.pa.cdn.uis.awsstatic.com/panorama-nav-init.js" data-config="{'appEntity':'aws-documentation','region':'us-east-1','service':'sdk-for-php'}"></script><meta id="panorama-serviceSubSection" value="Developer Guide" /><meta id="panorama-serviceConsolePage" value="What Is the AWS SDK for PHP Version 3?" /></head><body class="awsdocs awsui"><div class="awsdocs-container"><awsdocs-header></awsdocs-header><awsui-app-layout id="app-layout" class="awsui-util-no-gutters" ng-controller="ContentController as $ctrl" header-selector="awsdocs-header" navigation-hide="false" navigation-width="$ctrl.navWidth" navigation-open="$ctrl.navOpen" navigation-change="$ctrl.onNavChange($event)" tools-hide="$ctrl.hideTools" tools-width="$ctrl.toolsWidth" tools-open="$ctrl.toolsOpen" tools-change="$ctrl.onToolsChange($event)"><div id="guide-toc" dom-region="navigation"><awsdocs-toc></awsdocs-toc></div><div id="main-column" dom-region="content" tabindex="-1"><awsdocs-view class="awsdocs-view"><div id="awsdocs-content"><head><title>What Is the AWS SDK for PHP Version 3? - AWS SDK for PHP</title><meta name="pdf" content="/pdfs/sdk-for-php/v3/developer-guide/aws-sdk-php-dg.pdf#welcome" /><meta name="forums" content="https://repost.aws/" /><meta name="feedback" content="https://docs.aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=AWS%20SDK%20for%20PHP&topic_url=https://docs.aws.amazon.com/en_us/sdk-for-php/v3/developer-guide/welcome.html" /><meta name="feedback-yes" content="feedbackyes.html?topic_url=https://docs.aws.amazon.com/en_us/sdk-for-php/v3/developer-guide/welcome.html" /><meta name="feedback-no" content="feedbackno.html?topic_url=https://docs.aws.amazon.com/en_us/sdk-for-php/v3/developer-guide/welcome.html" /><meta name="keywords" content="php,sdk,AWS SDK for PHP Version 3,AWS for PHP,Amazon PHP" /><script type="application/ld+json"> { "@context" : "https://schema.org", "@type" : "BreadcrumbList", "itemListElement" : [ { "@type" : "ListItem", "position" : 1, "name" : "AWS", "item" : "https://aws.amazon.com" }, { "@type" : "ListItem", "position" : 2, "name" : "AWS SDK for PHP", "item" : "https://docs.aws.amazon.com/sdk-for-php/index.html" }, { "@type" : "ListItem", "position" : 3, "name" : "Developer Guide", "item" : "https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide" }, { "@type" : "ListItem", "position" : 4, "name" : "What Is the AWS SDK for PHP Version 3?", "item" : "https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/welcome.html" } ] } </script></head><body><div id="main"><div style="display: none"><a href="/pdfs/sdk-for-php/v3/developer-guide/aws-sdk-php-dg.pdf#welcome" target="_blank" rel="noopener noreferrer" title="Open PDF"></a></div><div id="breadcrumbs" class="breadcrumb"><a href="https://aws.amazon.com">AWS</a><a href="/index.html">Documentation</a><a href="/sdk-for-php/index.html">AWS SDK for PHP</a><a href="welcome.html">Developer Guide</a></div><div id="page-toc-src"><a href="#getting-started">Get started with the SDK</a><a href="#reference">Additional resources</a><a href="#supported-services">API documentation</a><a href="#maintenance-and-support-for-sdk-major-versions">Maintenance and support for SDK major versions</a></div><awsdocs-doc-page-banner></awsdocs-doc-page-banner><div id="main-content" class="awsui-util-container"><div id="main-col-body"><awsdocs-language-banner data-service="$ctrl.pageService"></awsdocs-language-banner><h1 class="topictitle" id="welcome">What Is the AWS SDK for PHP Version 3?</h1><div class="awsdocs-page-header-container"><awsdocs-page-header></awsdocs-page-header><awsdocs-filter-selector id="awsdocs-filter-selector"></awsdocs-filter-selector></div><p>The AWS SDK for PHP Version 3 enables PHP developers to use <a href="https://aws.amazon.com/" rel="noopener noreferrer" target="_blank"><span>Amazon Web Services</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> in their PHP code, and build robust applications and software using services like Amazon S3, Amazon DynamoDB, and S3 Glacier. You can get started in minutes by installing the SDK through Composer — by requiring the <code class="code">aws/aws-sdk-php</code> package — or by downloading the standalone <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.zip"><code>aws.zip</code></a> or <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.phar"><code>aws.phar</code></a> file.</p><p>Not all services are immediately available in the SDK. To find out which services are currently supported by the AWS SDK for PHP, see <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html">Service Name and API Version</a>. </p><div class="awsdocs-note"><div class="awsdocs-note-title"><awsui-icon name="status-info" variant="link"></awsui-icon><h6>Note</h6></div><div class="awsdocs-note-text"><p>If you’re migrating your code from using Version 2 of the SDK to Version 3, be sure to read <a href="./getting-started_migration.html">Upgrading from Version 2 of the AWS SDK for PHP</a>.</p></div></div> <h2 id="getting-started">Get started with the SDK</h2> <p>If you’re ready to get hands-on with the SDK, follow the <a href="./getting-started_index.html">Get started</a> chapter. It guides you through authentication with AWS, setting up your development environment, and creating your first basic application using Amazon S3. </p> <h2 id="reference">Additional resources</h2> <div class="itemizedlist"> <ul class="itemizedlist"><li class="listitem"> <p> <a href="./faq.html">FAQ</a> </p> </li><li class="listitem"> <p> <a href="./glossary.html">Glossary</a> </p> </li><li class="listitem"> <p> <a href="https://docs.aws.amazon.com/sdkref/latest/guide/">AWS SDKs and Tools Reference Guide</a>: Contains settings, features, and other foundational concepts common among AWS SDKs. </p> </li><li class="listitem"> <p> <a href="http://guzzlephp.org" rel="noopener noreferrer" target="_blank"><span>Guzzle Documentation</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> </p> </li><li class="listitem"> <p>Code examples using the AWS SDK for PHP is available in the <a href="https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/php/example_code" rel="noopener noreferrer" target="_blank"><span>awsdocs/aws-doc-sdk-examples</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> repo.</p> </li><li class="listitem"> <p><a href="https://gitter.im/aws/aws-sdk-php" rel="noopener noreferrer" target="_blank"><span>PHP SDK community</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> on Gitter.</p> </li><li class="listitem"> <p><a href="https://repost.aws/" rel="noopener noreferrer" target="_blank"><span>AWS re:Post</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a>.</p> </li></ul></div> <p>GitHub:</p> <div class="itemizedlist"> <ul class="itemizedlist"><li class="listitem"> <p>Source code for the AWS SDK for PHP is available in the <a href="https://github.com/aws/aws-sdk-php" rel="noopener noreferrer" target="_blank"><span>aws/aws-sdk-php</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> repo.</p> </li><li class="listitem"> <p> <a href="https://github.com/aws/aws-sdk-php/blob/master/CONTRIBUTING.md" rel="noopener noreferrer" target="_blank"><span>Contributing to the SDK</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> </p> </li><li class="listitem"> <p> <a href="https://github.com/aws/aws-sdk-php/issues/new/choose" rel="noopener noreferrer" target="_blank"><span>Report a bug or request a feature</span><awsui-icon class="awsdocs-link-icon" name="external"></awsui-icon></a> </p> </li></ul></div> <h2 id="supported-services">API documentation</h2> <p>Find API documentation for the SDK at <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/">https://docs.aws.amazon.com/sdk-for-php/latest/reference/</a>.</p> <h2 id="maintenance-and-support-for-sdk-major-versions">Maintenance and support for SDK major versions</h2> <p>For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the <a href="https://docs.aws.amazon.com/sdkref/latest/guide/">AWS SDKs and Tools Reference Guide</a>:</p> <div class="itemizedlist"> <ul class="itemizedlist"><li class="listitem"> <p> <a href="https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html">AWS SDKs and Tools maintenance policy</a> </p> </li><li class="listitem"> <p> <a href="https://docs.aws.amazon.com/sdkref/latest/guide/version-support-matrix.html">AWS SDKs and Tools version support matrix</a> </p> </li></ul></div> <awsdocs-copyright class="copyright-print"></awsdocs-copyright><awsdocs-thumb-feedback right-edge="{{$ctrl.thumbFeedbackRightEdge}}"></awsdocs-thumb-feedback></div><noscript><div><div><div><div id="js_error_message"><p><img src="https://d1ge0kk1l5kms0.cloudfront.net/images/G/01/webservices/console/warning.png" alt="Warning" /> <strong>Javascript is disabled or is unavailable in your browser.</strong></p><p>To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.</p></div></div></div></div></noscript><div id="main-col-footer" class="awsui-util-font-size-0"><div id="doc-conventions"><a target="_top" href="/general/latest/gr/docconventions.html">Document Conventions</a></div><div class="prev-next"><div id="next" class="next-link" accesskey="n" href="./getting-started_index.html">Get started</div></div></div><awsdocs-page-utilities></awsdocs-page-utilities></div><div id="quick-feedback-yes" style="display: none;"><div class="title">Did this page help you? - Yes</div><div class="content"><p>Thanks for letting us know we're doing a good job!</p><p>If you've got a moment, please tell us what we did right so we can do more of it.</p><p><awsui-button id="fblink" rel="noopener noreferrer" target="_blank" text="Feedback" click="linkClick($event)" href="https://docs.aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=AWS SDK for PHP&topic_url=https://docs.aws.amazon.com/en_us/sdk-for-php/v3/developer-guide/welcome.html"></awsui-button></p></div></div><div id="quick-feedback-no" style="display: none;"><div class="title">Did this page help you? - No</div><div class="content"><p>Thanks for letting us know this page needs work. We're sorry we let you down.</p><p>If you've got a moment, please tell us how we can make the documentation better.</p><p><awsui-button id="fblink" rel="noopener noreferrer" target="_blank" text="Feedback" click="linkClick($event)" href="https://docs.aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=AWS SDK for PHP&topic_url=https://docs.aws.amazon.com/en_us/sdk-for-php/v3/developer-guide/welcome.html"></awsui-button></p></div></div></div></body></div></awsdocs-view><div class="page-loading-indicator" id="page-loading-indicator"><awsui-spinner size="large"></awsui-spinner></div></div><div id="tools-panel" dom-region="tools"><awsdocs-tools-panel id="awsdocs-tools-panel"></awsdocs-tools-panel></div></awsui-app-layout><awsdocs-cookie-banner class="doc-cookie-banner"></awsdocs-cookie-banner></div></body></html>