PHP S3 Uploader:
- upload files
- Upload complete folder
- Support nested folders
Execute the following command to install composer at project root directory
Then, Modify configuration values at config.php as per your AWS credentials
's3' => [
'credentials' => [
'key' => 'YOUR AWS S3 KEY',
'secret' => 'YOUR AWS S3 SECRET',
'region' => 'YOUR AWS S3 REGION',
'bucket' => 'YOUR AWS S3 BUCKET'
Then, use following command to upload folder and its files(recursively) to S3
php app.php upload:s3 'YOUR DIRECTORY PATH'
php app.php upload:s3 '/home/ubuntu/demos/'
Released On: February 16, 2018