{"id":28495233,"url":"https://github.com/net-tools/cloudconvert","last_synced_at":"2025-06-23T14:33:45.264Z","repository":{"id":57025287,"uuid":"75315181","full_name":"net-tools/cloudconvert","owner":"net-tools","description":"Composer library for Cloud Convert API","archived":false,"fork":false,"pushed_at":"2023-09-10T12:43:26.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T11:08:30.193Z","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/net-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-01T17:16:46.000Z","updated_at":"2023-09-10T12:43:20.000Z","dependencies_parsed_at":"2022-08-23T15:22:41.741Z","dependency_job_id":null,"html_url":"https://github.com/net-tools/cloudconvert","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/net-tools/cloudconvert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2Fcloudconvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2Fcloudconvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2Fcloudconvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2Fcloudconvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/net-tools","download_url":"https://codeload.github.com/net-tools/cloudconvert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/net-tools%2Fcloudconvert/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261494765,"owners_count":23167198,"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":"2025-06-08T11:08:29.105Z","updated_at":"2025-06-23T14:33:45.255Z","avatar_url":"https://github.com/net-tools.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# net-tools/cloudconvert\n\n## Composer library to interface with CloudConvert API\n\nCloudconvert is a web based service which converts files between multiple file formats. I personnaly use the CloudConvert API to transform PDF files to txt files (I can't search in a PDF file within PHP, but if I convert it to a plain text file, I may use any string search function).\n\n\n### Setup instructions\n\nTo install net-tools/core package, just require it through composer : `require net-tools/cloudconvert:^1.0.0`.\n\n\n### How to use ?\n\nThe Client class must be instantiated with an API key (get it from you CloudConvert account). Then, use any of the following method :\n- listConversions\n- deleteConversion\n- deleteConversions\n- convertDownload (the file to be converted is downloaded on your website)\n- convertUploadData (the data to be converted is a string)\n- convertUpload (the file to be converted is uploaded with the request)\n\nFor details about parameters and values returned, you may refer to the CloudConvert API, as this Client class in only a facade pattern, abstracting technical details, such as performing the actual HTTP request, to the end-user.\n\n\n\n### Sample\n\n```php\n// $APIKEY must contain the API key from your CloudConvert account\n// $URL refers to a file hosted on your website will be downloaded \n// and converted (e.g. : http://mysite.info/test.pdf).\n$client = new Nettools\\CloudConvert\\Client($apikey);\n$client-\u003econvertDownload('pdf', 'txt', $url, array('download'=\u003e'inline'));\n// and also :\n$client-\u003econvertUpload('pdf', 'txt', '/home/tmp/mypdf.pdf', array('download'=\u003e'inline'));\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnet-tools%2Fcloudconvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnet-tools%2Fcloudconvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnet-tools%2Fcloudconvert/lists"}