{"id":27204644,"url":"https://github.com/xujinheng/s3-mock-server","last_synced_at":"2026-05-05T21:33:17.025Z","repository":{"id":41505320,"uuid":"509826824","full_name":"xujinheng/S3-Mock-Server","owner":"xujinheng","description":"A mock S3 server written in PHP.","archived":false,"fork":false,"pushed_at":"2026-01-16T02:45:41.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-16T16:26:53.775Z","etag":null,"topics":["aws","aws-s3","mock","mock-server","php","s3"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xujinheng.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":"2022-07-02T18:00:18.000Z","updated_at":"2026-01-16T02:45:44.000Z","dependencies_parsed_at":"2023-01-23T08:46:13.110Z","dependency_job_id":null,"html_url":"https://github.com/xujinheng/S3-Mock-Server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xujinheng/S3-Mock-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujinheng%2FS3-Mock-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujinheng%2FS3-Mock-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujinheng%2FS3-Mock-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujinheng%2FS3-Mock-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xujinheng","download_url":"https://codeload.github.com/xujinheng/S3-Mock-Server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xujinheng%2FS3-Mock-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32669429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","aws-s3","mock","mock-server","php","s3"],"created_at":"2025-04-09T22:58:53.306Z","updated_at":"2026-05-05T21:33:17.006Z","avatar_url":"https://github.com/xujinheng.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S3-Mock-Server\n\n[![Github All Releases](https://img.shields.io/github/downloads/xujinheng/S3-Mock-Server/total.svg)](https://github.com/xujinheng/S3-Mock-Server/releases/)\n[![GitHub License](https://img.shields.io/github/license/xujinheng/S3-Mock-Server.svg?style=flat-square)](https://github.com/xujinheng/S3-Mock-Server/blob/master/LICENSE)\n\n### Introduction\n`S3-Mock-Server` is a PHP based server that implements Amazon S3 API. \n\n### Deployment\nDownload the file in php server:\n```bash\ncurl -L https://github.com/xujinheng/S3-Mock-Server/releases/download/0.0.1/server-single-file.php -o server.php\n```\n\n### Usage\n```python\nimport boto3\ns3 = boto3.resource(\"s3\", endpoint_url=\u003cthe place you put server.php\u003e, \n                    aws_access_key_id=\u003cany string\u003e, aws_secret_access_key=\u003cany string\u003e)\ns3.Bucket(\u003cbucket name\u003e).upload_file(\u003clocal file\u003e, \u003cobject key\u003e)\ns3.Bucket(\u003cbucket name\u003e).download_file(\u003cobject key\u003e, \u003clocal path\u003e)\n```\nCheck [demo.ipynb](./demo.ipynb) for details.\n\nSupported client: \n- [boto3](https://github.com/boto/boto3)\n\nSupported methods:\n- Buckets\n  - Create\n  - List\n  - Delete\n- Objects\n  - Create\n  - List (prefix)\n  - Download\n  - Delete\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxujinheng%2Fs3-mock-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxujinheng%2Fs3-mock-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxujinheng%2Fs3-mock-server/lists"}