{"id":16062368,"url":"https://github.com/jhorlima/downloadfile","last_synced_at":"2026-07-17T01:34:10.886Z","repository":{"id":35841429,"uuid":"40124994","full_name":"jhorlima/DownloadFile","owner":"jhorlima","description":"Class to help download files with try catch","archived":false,"fork":false,"pushed_at":"2015-08-07T16:56:39.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T08:13:42.787Z","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/jhorlima.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":"2015-08-03T13:02:10.000Z","updated_at":"2015-08-20T11:56:15.000Z","dependencies_parsed_at":"2022-09-18T00:50:30.994Z","dependency_job_id":null,"html_url":"https://github.com/jhorlima/DownloadFile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhorlima/DownloadFile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhorlima%2FDownloadFile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhorlima%2FDownloadFile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhorlima%2FDownloadFile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhorlima%2FDownloadFile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhorlima","download_url":"https://codeload.github.com/jhorlima/DownloadFile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhorlima%2FDownloadFile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35563613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"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":[],"created_at":"2024-10-09T04:40:26.608Z","updated_at":"2026-07-17T01:34:10.869Z","avatar_url":"https://github.com/jhorlima.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DownloadFile\nClass to help download files with try catch\n\nMethods:\n\ngetFileInfo = @return SplFileInfo object \n\nsetFile = @param $filePatch, @return this object\n\nsetNewName = @param $newName, [@param $haveExtension = true ( default ) - false to add extension of the original file], [@param $extension = null ( default ) - string to new extension, this parameter ignores the parameter $haveExtension ],  @return this object\n\nsetValidatorExtension = @param validExtensionslist, @return this object (optional)\n\ndownload = @return file to download.\n\nindex.php is an example!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhorlima%2Fdownloadfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhorlima%2Fdownloadfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhorlima%2Fdownloadfile/lists"}