{"id":15658397,"url":"https://github.com/nodesocket/php-to-s3","last_synced_at":"2025-07-11T00:03:30.816Z","repository":{"id":8421881,"uuid":"10008852","full_name":"nodesocket/php-to-s3","owner":"nodesocket","description":"Upload an entire source directory recursively to Amazon S3 from a PHP command line interface.","archived":false,"fork":false,"pushed_at":"2013-08-20T06:04:25.000Z","size":120,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-03T14:56:22.318Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/nodesocket/php-to-s3","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodesocket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-12T03:44:33.000Z","updated_at":"2023-11-16T19:38:19.000Z","dependencies_parsed_at":"2022-07-30T00:19:29.844Z","dependency_job_id":null,"html_url":"https://github.com/nodesocket/php-to-s3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodesocket/php-to-s3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fphp-to-s3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fphp-to-s3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fphp-to-s3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fphp-to-s3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodesocket","download_url":"https://codeload.github.com/nodesocket/php-to-s3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesocket%2Fphp-to-s3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264695944,"owners_count":23650930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T13:12:20.219Z","updated_at":"2025-07-11T00:03:30.792Z","avatar_url":"https://github.com/nodesocket.png","language":"PHP","readme":"php-to-s3\n---------\n\n####Upload an entire source directory recursively to *Amazon S3* from a PHP command line interface. The connection with *S3* is over SSL.####\n\nAll objects are stored using the following *S3* options:\n\n+ private ACL permissions\n+ standard storage\n+ server side encrypted *(AES256)*\n\nUsage\n-----\n\nSet your **AWS ACCESS KEY** and **AWS SECRET KEY** directly in `php-to-s3.php`, or if your feeling fancy in environmental variables `AWS_ACCESS_KEY` and `AWS_SECRET_KEY`.\n\n```` bash\nusage: php -f php-to-s3.php \u003cbucket-name\u003e \u003csource-dir\u003e\n````\n    \nExamples\n--------\n\n```` bash\n# Relative source path\nphp -f php-to-s3.php my-bucket ../backups/\n````\n\n```` bash    \n# Absolute source path\nphp -f php-to-s3.php my-bucket /mysql/backups/\n````\n\n```` bash\n# Get the version of php-to-s3\nphp -f php-to-s3.php version\n````\n\nLimitations\n-----------\n\n+ The bucket must already exist, i.e. it is **not lazy created**.\n+ The bucket must be located in the **US West (Oregon)** region, unless you modify `$s3-\u003esetEndpoint(\"s3-us-west-2.amazonaws.com\");`\n+ Files larger than **2GB** are not supported on **32 bit** systems due to PHP’s signed integer problem.\n\nCurrent Version\n---------------\n\nhttps://github.com/nodesocket/php-to-s3/blob/master/VERSION\n\nSupport, Bugs, And Feature Requests\n-----------------------------------\n\nCreate issues here on GitHub (https://github.com/nodesocket/php-to-s3/issues).\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, and for striving to maintain backward compatibility, php-to-s3 will be maintained under the semantic versioning guidelines.\n\nReleases will be numbered with the follow format:\n\n`\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`\n\nAnd constructed with the following guidelines:\n\n+ Breaking backward compatibility bumps the major (and resets the minor and patch)\n+ New additions without breaking backward compatibility bumps the minor (and resets the patch)\n+ Bug fixes and misc changes bumps the patch\n\nFor more information on semantic versioning, visit http://semver.org/.\n\nLicense \u0026 Legal\n---------------\n\nCopyright 2013 NodeSocket, LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\nAmazon S3 is a trademark of Amazon.com, Inc. or its affiliates.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesocket%2Fphp-to-s3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodesocket%2Fphp-to-s3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesocket%2Fphp-to-s3/lists"}