---
# System prepended metadata

title: Pasos para instalar el SDK de AWS para PHP.
tags: [' terminal', console]

---

---
title: Pasos para instalar el SDK de AWS para PHP.
tags: console, terminal
description: Pasos para instalar el SDK de AWS para PHP.
---

# Pasos para instalar el SDK de AWS para PHP

https://docs.aws.amazon.com/es_es/amazondynamodb/latest/developerguide/GettingStarted.PHP.02.html

---

- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
- php composer-setup.php --install-dir=/usr/local/bin
- php composer-setup.php --filename=composer
- composer require aws/aws-sdk-php (En el caso de error, revisar la estructura del composer.json)
- php -d memory_limit=-1 composer.phar require aws/aws-sdk-php

---

