{"id":16150260,"url":"https://github.com/zapalm/file-upload-helper","last_synced_at":"2025-04-06T22:27:00.463Z","repository":{"id":77784464,"uuid":"152240884","full_name":"zapalm/file-upload-helper","owner":"zapalm","description":"PHP helper class for uploading a file via HTTP POST request.","archived":false,"fork":false,"pushed_at":"2020-11-14T03:02:44.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T04:43:31.373Z","etag":null,"topics":["file-uploader","hacktoberfest","http-request","php-library"],"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/zapalm.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}},"created_at":"2018-10-09T11:40:12.000Z","updated_at":"2024-04-21T03:14:39.000Z","dependencies_parsed_at":"2023-03-12T01:59:45.018Z","dependency_job_id":null,"html_url":"https://github.com/zapalm/file-upload-helper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Ffile-upload-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Ffile-upload-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Ffile-upload-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Ffile-upload-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapalm","download_url":"https://codeload.github.com/zapalm/file-upload-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247561257,"owners_count":20958679,"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":["file-uploader","hacktoberfest","http-request","php-library"],"created_at":"2024-10-10T00:48:23.434Z","updated_at":"2025-04-06T22:27:00.431Z","avatar_url":"https://github.com/zapalm.png","language":"PHP","funding_links":["https://www.patreon.com/zapalm"],"categories":[],"sub_categories":[],"readme":"# File upload helper\nFile upload helper is the full documented (for now in Russian) for uploading a file via HTTP POST request.\nExample:\n~~~\n$file = '/home/var/test.zip';\n$response = (new FileUploadHelper())\n    -\u003esetBootstrapUrl('http://localhost/')\n    -\u003esendPostContent('\u0026filename=' . basename($file), array(), array($file))\n    -\u003egetResponse()\n;\n~~~\n\n## Installation\nAdd the dependency directly to your `composer.json` file:\n```\n\"repositories\": [\n  {\n    \"type\": \"vcs\",\n    \"url\": \"https://github.com/zapalm/file-upload-helper\"\n  }\n],\n\"require\": {\n  \"php\": \"\u003e=5.2\",\n  \"zapalm/file-upload-helper\": \"dev-master\"\n},\n```\n\n## How to help the project grow and get updates\n* **Become the [patron][2]** to help me work more for supporting and improving this project.\n* Report an issue.\n* Give me feedback or [contact with me][3].\n* Give the star to the project.\n* Contribute to the code.\n\n## Contributing to the code\n\n### Requirements for code contributors\n\nContributors **must** follow the following rules:\n\n* **Make your Pull Request on the *dev* branch**, NOT the *master* branch.\n* Do not update a helper version number.\n* Follow [PSR coding standards][1].\n\n### Process in details for code contributors\n\nContributors wishing to edit the project's files should follow the following process:\n\n1. Create your GitHub account, if you do not have one already.\n2. Fork the project to your GitHub account.\n3. Clone your fork to your local machine.\n4. Create a branch in your local clone of the project for your changes.\n5. Change the files in your branch. Be sure to follow [the coding standards][1].\n6. Push your changed branch to your fork in your GitHub account.\n7. Create a pull request for your changes **on the *dev* branch** of the project.\n   If you need help to make a pull request, read the [Github help page about creating pull requests][4].\n8. Wait for the maintainer to apply your changes.\n\n**Do not hesitate to create a pull request if even it's hard for you to apply the coding standards.**\n\n[1]: https://www.php-fig.org/psr/\n[2]: https://www.patreon.com/zapalm\n[3]: https://zapalm.ru\n[4]: https://help.github.com/articles/about-pull-requests/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapalm%2Ffile-upload-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapalm%2Ffile-upload-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapalm%2Ffile-upload-helper/lists"}