{"id":15067111,"url":"https://github.com/helingfeng/chunkupload","last_synced_at":"2025-04-10T13:54:39.354Z","repository":{"id":62515656,"uuid":"183245510","full_name":"helingfeng/ChunkUpload","owner":"helingfeng","description":"Laravel 超大文件上传存储，支持 OSS/Local","archived":false,"fork":false,"pushed_at":"2022-04-20T05:57:51.000Z","size":985,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T03:47:38.590Z","etag":null,"topics":["fileupload","laravel-package","laravel5","oss","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/helingfeng.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}},"created_at":"2019-04-24T14:26:08.000Z","updated_at":"2022-09-13T11:39:19.000Z","dependencies_parsed_at":"2022-11-02T10:17:24.214Z","dependency_job_id":null,"html_url":"https://github.com/helingfeng/ChunkUpload","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helingfeng%2FChunkUpload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helingfeng%2FChunkUpload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helingfeng%2FChunkUpload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helingfeng%2FChunkUpload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helingfeng","download_url":"https://codeload.github.com/helingfeng/ChunkUpload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248229438,"owners_count":21068892,"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":["fileupload","laravel-package","laravel5","oss","php"],"created_at":"2024-09-25T01:16:45.347Z","updated_at":"2025-04-10T13:54:39.333Z","avatar_url":"https://github.com/helingfeng.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChunkUpload\n\nLaravel 超大文件上传，前端对文件进行分块上传，并监听每个文件块的上传事件；后端接收所有的文件块后，进行排序与合并，输出最终目标文件。\n\n## Composer 安装\n\n```\ncomposer require helingfeng/laravel-chunk-upload\n```\n\n```\nphp artisan vendor:publish --provider \"ChunkUpload\\ChunkUploadServiceProvider\"\n```\n\n## 配置 OSS 存储 ACCESS_ID 与 ACCESS_KEY\n\n打开 `config/chunk_upload.php` 配置文件，并在 `.env` 添加相应配置项\n```php\n// 可选 oss 或 local本地文件存储方式\n'driver' =\u003e env('UPLOAD_CHUNK_DRIVER', 'local'),\n\n// 选择 oss 是，需要补充相关配置项\n// OSS ACCESS_ID\n'access_id' =\u003e env('OSS_ACCESS_ID', ''),\n// OSS ACCESS_KEY\n'access_key' =\u003e env('OSS_ACCESS_KEY', ''),\n// OSS bucket\n'bucket' =\u003e env('OSS_BUCKET', ''),\n...\n```\n\n## Example 示例\n\n启动项目，并访问路径：https://yourhosts/show-upload-example\n\n![](./upload.jpg)\n\n## 本地文件上传示例\n\n![](./file.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelingfeng%2Fchunkupload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelingfeng%2Fchunkupload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelingfeng%2Fchunkupload/lists"}