{"id":34005274,"url":"https://github.com/easmith/selectel-storage-php-class","last_synced_at":"2026-04-09T05:32:15.553Z","repository":{"id":3720864,"uuid":"4793586","full_name":"easmith/selectel-storage-php-class","owner":"easmith","description":"PHP class for Selectel storage","archived":false,"fork":false,"pushed_at":"2024-12-26T12:07:37.000Z","size":43,"stargazers_count":45,"open_issues_count":5,"forks_count":18,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-12-14T22:36:27.326Z","etag":null,"topics":["cloud","php","selectel","storage"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-26T10:14:11.000Z","updated_at":"2024-12-26T12:07:42.000Z","dependencies_parsed_at":"2022-08-21T11:50:34.020Z","dependency_job_id":null,"html_url":"https://github.com/easmith/selectel-storage-php-class","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/easmith/selectel-storage-php-class","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easmith%2Fselectel-storage-php-class","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easmith%2Fselectel-storage-php-class/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easmith%2Fselectel-storage-php-class/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easmith%2Fselectel-storage-php-class/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easmith","download_url":"https://codeload.github.com/easmith/selectel-storage-php-class/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easmith%2Fselectel-storage-php-class/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31587807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cloud","php","selectel","storage"],"created_at":"2025-12-13T10:44:23.773Z","updated_at":"2026-04-09T05:32:15.546Z","avatar_url":"https://github.com/easmith.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"selectel-storage-php-class\n==========================\n\ncomposer.json\n\n```js\n\n\"require\": {\n    \"easmith/selectel-storage\": \"~1.0\",\n}\n\n```\n\n```php\n\n\u003c?php\n    \nrequire_once(\"vendor/autoload.php\");\n$selectelStorage = new SelectelStorage(\"User\", \"Pass\");\n\n```\n\n### Create Container \n```php\n$container = $selectelStorage-\u003ecreateContainer('selectel', array(\"X-Container-Meta-Type: public\"));\n// get container info\n$container-\u003egetInfo()\n```\n\n### Containers list\n```php\n$containerList = $selectelStorage-\u003elistContainers();\n```\n\n### Create directory\n```php\n$container-\u003ecreateDirectory('php/test')\n```\n\n### List\n```php\n$dirList = $container-\u003elistFiles($limit = 10000, $marker = null, $prefix = null, $path = \"\");\n// files\n$fileList = $container-\u003elistFiles($limit = 10000, $marker = null, $prefix = null, $path = 'php/');\n```\n\n### Put File\n```php\n$res = $container-\u003eputFile(__FILE__, 'example.php',[\"Content-Type: text/html\"]);\n```\n\n### File info\n```php\n$fileInfo = $container-\u003egetFileInfo('example.php');\n```\n\n### Get file\n```php\n$file = $container-\u003egetFile($fileList[0]);\n```\n\n### Copy file\n```php\n$copyRes = $container-\u003ecopy('example.php', 'php/test/Examples_copy.php5');\n```\n\n### Delete\n```php\n$deleteRes = $container-\u003edelete('example.php');\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasmith%2Fselectel-storage-php-class","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasmith%2Fselectel-storage-php-class","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasmith%2Fselectel-storage-php-class/lists"}