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

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

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

pion/laravel-chunk-upload

Composer 安装命令:

composer require pion/laravel-chunk-upload

包简介

Service for chunked upload with several js providers

README 文档

README

Total Downloads Build Status Latest Stable Version License

Introduction

Laravel Chunk Upload simplifies chunked uploads with support for multiple JavaScript libraries atop Laravel's file upload system, designed with a minimal memory footprint. Features include cross-domain request support, automatic cleaning, and intuitive usage.

For example, a repository with integration tests, visit laravel-chunk-upload-example.

Before contributing, familiarize yourself with the guidelines outlined in CONTRIBUTION.md.

Installation

1. Install via Composer

composer require pion/laravel-chunk-upload

2. Publish the Configuration (recommended)

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

This will force our recommended default values (due to a cross-compatibility, the config can contain different values that the business logic).

Usage

The setup involves three steps:

  1. Integrate your controller to handle file uploads. Instructions
  2. Define a route for the controller. Instructions
  3. Select your preferred frontend provider (multiple providers are supported in a single controller).
Library Wiki Single & Chunk Upload Simultaneous Uploads Included in Example Project Author
resumable.js Wiki ✔️ ✔️ ✔️ @pionl
flow.js Wiki ✔️ ✔️ ✔️ @kcaj-burr
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 the last chunk as the final one to ensure correct merging.

Custom Disk: Currently, it's recommended to use the basic storage setup (not linking the public folder). If you have time to verify its functionality, please PR the changes!

For detailed information and tips, refer to the Wiki or explore a working example in a separate repository with example.

Changelog

View the changelog in releases.

Contribution or Extension

Review the contribution guidelines before submitting your PRs (and utilize the example repository for running integration tests).

Refer to CONTRIBUTING.md for contribution instructions. All contributions are welcome.

Compatibility

The table below shows which PHP Laravel and PHP version is tested (or was tested). If you see a version in the Supported column, it means a package version with the last support of the Laravel version.

Version PHP Supported Tested
13.* 8.3,8.4,8.5
12.* 8.2,8.3,8.4,8.5
11.* 8.2,8.3,8.4
10.* 8.2
9.* 8.2
8.* 7.4, 8.0, 8.1 v1.5.6 🟥
7.* 7.4 v1.5.6 🟥

New versions

If there is a new Laravel version and there is no an official release in our package, you can create a PR. Then anyone can use the PR until the official release is made. Check the PR and update composer.json with the repository.

"repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/{!ENTER_USER_NAME!}/laravel-chunk-upload"
    }
  ]

Here is explanation article

Copyright and License

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

Copyright (c) 2017 and beyond Martin Kluska and all contributors (Thank you ❤️)

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

pion/laravel-chunk-upload 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.89M 次下载、GitHub Stars 达 723, 最近一次更新时间为 2016 年 06 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 4.89M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 731
  • 点击次数: 23
  • 依赖项目数: 20
  • 推荐数: 1

GitHub 信息

  • Stars: 723
  • Watchers: 11
  • Forks: 201
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-27