juzaweb/laravel-chunk-upload 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

juzaweb/laravel-chunk-upload

Composer 安装命令:

composer require juzaweb/laravel-chunk-upload

包简介

Service for chunked upload with several js providers

README 文档

README

Total Downloads Build Status Latest Stable Version Latest Unstable Version License

Introduction

Supports Laravel from 5.2 to 7 (covered by integration tests on all versions).

Easy to use service/library for chunked upload with supporting multiple JS libraries on top of Laravel's file upload with low memory footprint in mind.

Supports feature as cross domains requests, automatic clean schedule and easy usage.

Example repository with integration tests can be found in laravel-chunk-upload-example.

Before adding pull requests read CONTRIBUTION.md. Help me fix your bugs by debugging your issues using XDEBUG (and try to do a fix - it will help you become better).

Installation

1. Install via composer

composer require pion/laravel-chunk-upload

2. Publish the config (Optional)

php artisan vendor:publish --provider="Pion\Laravel\ChunkUpload\Providers\ChunkUploadServiceProvider"

Usage

Setup consists of 3 steps:

  1. Integrate your controller that will handle the file upload. How to
  2. Set a route for the controller. How to
  3. Choose your front-end provider below (we support multiple providers in single controller)
Library Wiki single & chunk upload simultaneous uploads In example project Author
resumable.js Wiki ✔️ ✔️ ✔️ @pionl
DropZone Wiki ✔️ ✔️ ✔️ @pionl
jQuery-File-Upload Wiki ✔️ ✖️ ✔️ @pionl
Plupload Wiki ✔️ ✖️ ✖️ @pionl
simple uploader ✖️ ✔️ ✖️ ✖️ @dyktek
ng-file-upload Wiki ✔️ ✖️ ✖️ @L3o-pold

Simultaneous uploads: The library must send last chunk as last, otherwise the merging will not work correctly.

Custom disk: At this moment I recommend using the basic storage setup (not linking public folder). It is not tested (Have free time to ensure it is working? PR the changes!).

For more detailed information (tips) use the Wiki or for working example continue to separate repository with example.

Changelog

Can be found in releases.

Contribution or extending

Read contribution before your PR (and use example repository to run integration tests).

See CONTRIBUTING.md for how to contribute changes. All contributions are welcome.

Compatibility

  • 7.* (last tested on v7.16.1)
  • 6.* (last tested on v6.18.20)
  • 5.8.* (last tested on v5.8.38)
  • 5.7.* (last tested on v5.7.29)
  • 5.6.* (last tested on v5.6.40)
  • 5.5.* (last tested on v5.5.49)
  • 5.4.* (last tested on v5.4.36)
  • 5.3.* (last tested on v5.3.31)
  • 5.2.* (last tested on v5.2.45)

Copyright and License

laravel-chunk-upload was written by Martin Kluska and is released under the MIT License.

Copyright (c) 2016 and beyond Martin Kluska

juzaweb/laravel-chunk-upload 适用场景与选型建议

juzaweb/laravel-chunk-upload 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 592.95k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2021 年 09 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 juzaweb/laravel-chunk-upload 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 juzaweb/laravel-chunk-upload 我们能提供哪些服务?
定制开发 / 二次开发

基于 juzaweb/laravel-chunk-upload 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 592.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 19
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 191
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-18