{"id":31767941,"url":"https://github.com/mathsgod/flysystem-pcloud","last_synced_at":"2026-01-26T05:01:25.035Z","repository":{"id":302051706,"uuid":"1011057767","full_name":"mathsgod/flysystem-pcloud","owner":"mathsgod","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-30T09:38:34.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-17T19:03:44.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathsgod.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-30T08:35:27.000Z","updated_at":"2025-06-30T09:37:38.000Z","dependencies_parsed_at":"2025-06-30T10:31:44.244Z","dependency_job_id":"9b8b772f-c2ba-49e4-a73b-46a15a3e3ea1","html_url":"https://github.com/mathsgod/flysystem-pcloud","commit_stats":null,"previous_names":["mathsgod/flysystem-pcloud"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mathsgod/flysystem-pcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fflysystem-pcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fflysystem-pcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fflysystem-pcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fflysystem-pcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathsgod","download_url":"https://codeload.github.com/mathsgod/flysystem-pcloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fflysystem-pcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28767008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"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":[],"created_at":"2025-10-10T01:49:07.923Z","updated_at":"2026-01-26T05:01:25.002Z","avatar_url":"https://github.com/mathsgod.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flysystem-pcloud\n\nA [Flysystem](https://flysystem.thephpleague.com/) adapter for [pCloud](https://www.pcloud.com/), supporting PHP 8+. Usable in Laravel, Symfony, and any PHP project.\n\n## Features\n\n- Upload, download, delete, copy, and move files/folders\n- Stream upload for large files\n- Recursive directory listing\n- Auto-create missing directories\n- Robust error handling\n\n## Installation\n\n```bash\ncomposer require mathsgod/flysystem-pcloud\n```\n\n## Usage\n\n```php\nuse League\\Flysystem\\Filesystem;\nuse League\\Flysystem\\pCloud\\pCloudAdapter;\n\n$adapter = new pCloudAdapter(\n    region: 'eu', // or 'us'\n    accessToken: 'your-access-token'\n);\n\n$filesystem = new Filesystem($adapter);\n\n// Upload a file\n$filesystem-\u003ewrite('/folder/file.txt', 'content');\n\n// Read a file\n$content = $filesystem-\u003eread('/folder/file.txt');\n\n// List directory contents\nforeach ($filesystem-\u003elistContents('/folder', true) as $item) {\n    echo $item-\u003epath() . PHP_EOL;\n}\n```\n\n## Parameters\n\n- `region`: `'eu'` or `'us'`, depending on your pCloud account region\n- `accessToken`: Your pCloud OAuth2 access token\n\n## Notes\n\n- Directory operations will auto-create missing parent folders\n- pCloud API only supports some file attributes; visibility is not supported\n- Any API error will throw an Exception\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fflysystem-pcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathsgod%2Fflysystem-pcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fflysystem-pcloud/lists"}