{"id":26871133,"url":"https://github.com/codeadamca/php-dropbox-api","last_synced_at":"2025-07-17T01:33:51.646Z","repository":{"id":59029828,"uuid":"534759870","full_name":"codeadamca/php-dropbox-api","owner":"codeadamca","description":"A basic example of uploading a file to your Dropbox account.","archived":false,"fork":false,"pushed_at":"2025-03-04T17:41:41.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T06:38:08.739Z","etag":null,"topics":["api","dropbox","php"],"latest_commit_sha":null,"homepage":"","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/codeadamca.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-09T18:24:26.000Z","updated_at":"2025-03-04T17:41:45.000Z","dependencies_parsed_at":"2025-05-07T06:31:51.404Z","dependency_job_id":"588e73d6-cbbd-419e-aada-7eb83515c75e","html_url":"https://github.com/codeadamca/php-dropbox-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeadamca/php-dropbox-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-dropbox-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-dropbox-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-dropbox-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-dropbox-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeadamca","download_url":"https://codeload.github.com/codeadamca/php-dropbox-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeadamca%2Fphp-dropbox-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265558614,"owners_count":23787950,"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":["api","dropbox","php"],"created_at":"2025-03-31T07:18:33.313Z","updated_at":"2025-07-17T01:33:51.625Z","avatar_url":"https://github.com/codeadamca.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uploading a File to Dropbox Using PHP\n\nA basic example of uploading a file to your Dropbox account using vanilla PHP and a generated access token.\n\nTo make this upload scripte work just follow these setps:\n\n1. Login to your Dropbox account and go to the [Dropbox developers portal](https://www.dropbox.com/developers/).\n\n2. Click on ```App Console```.\n\n3. Create a new app or use an existing app. Make sure the app has ```files.content.write``` checked in the ```Permissions``` tab.\n\n4. On the ```Settings``` tab generate an Access Token. Place the Access Token in the ```.env``` file. \n\n5. Test the upload script.\n\n\u003e [!Note]\n\u003e The root folder ID must be kept current. If the upload is not working use the `/get_authenticated_admin` to retrieve an updated folder ID.\n\nThis cose sample uses a ```.env``` files as described on the [php-env](https://github.com/codeadamca/php-env) repo. \n\n***\n\n## Repo Resources\n\n* [Visual Studio Code](https://code.visualstudio.com/)\n* [PHP](https://www.php.net/)\n* [Dropbox](https://www.dropbox.com/)\n\n\u003cbr\u003e\n\u003ca href=\"https://codeadam.ca\"\u003e\n\u003cimg src=\"https://cdn.codeadam.ca/images@1.0.0/codeadam-logo-coloured-horizontal.png\" width=\"200\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fphp-dropbox-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeadamca%2Fphp-dropbox-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeadamca%2Fphp-dropbox-api/lists"}