laravel-chunk-upload | The basic implementation for chunk upload with multiple providers support like jQuery-file-upload, p | File Upload library

 by   pionl PHP Version: v1.5.2 License: MIT

kandi X-RAY | laravel-chunk-upload Summary

kandi X-RAY | laravel-chunk-upload Summary

laravel-chunk-upload is a PHP library typically used in User Interface, File Upload applications. laravel-chunk-upload has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

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).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              laravel-chunk-upload has a low active ecosystem.
              It has 453 star(s) with 155 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 23 open issues and 79 have been closed. On average issues are closed in 338 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of laravel-chunk-upload is v1.5.2

            kandi-Quality Quality

              laravel-chunk-upload has 0 bugs and 0 code smells.

            kandi-Security Security

              laravel-chunk-upload has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              laravel-chunk-upload code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              laravel-chunk-upload is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              laravel-chunk-upload releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              laravel-chunk-upload saves you 738 person hours of effort in developing the same functionality from scratch.
              It has 1708 lines of code, 190 functions and 35 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed laravel-chunk-upload and discovered the below as its top functions. This is intended to give you an instant insight into laravel-chunk-upload implemented functionality, and help decide if they suit your requirements.
            • Create chunk file name
            • Handles the chunk storage .
            • Get the old chunk files .
            • Boot the application .
            • Check request parameters
            • Create full chunked file .
            • Get the handler class from the request .
            • Append a file to the destination
            • Handle uploaded file
            • Tries to parse the content range .
            Get all kandi verified functions for this library.

            laravel-chunk-upload Key Features

            No Key Features are available at this moment for laravel-chunk-upload.

            laravel-chunk-upload Examples and Code Snippets

            No Code Snippets are available at this moment for laravel-chunk-upload.

            Community Discussions

            QUESTION

            Google App engine 32MB max request size limit- how to upload large files?
            Asked 2021-Jan-14 at 11:53

            We've got a set up using google appengine with a docker container running a laravel application. Our users need to upload large video files (max 1028MB) to the server which in turn is stored in GCS. But GAE gives an error 413 Request entity too large nginx. I've confirmed this is not an issue on our server configs but a restriction on GAE This is a pretty common requirement. How do you guys get around this?

            What i've tried:

            • Chunking using this package https://github.com/pionl/laravel-chunk-upload and dropzone.js to break down the file when sending (Still results in 413)
            • Blobstore API is not applicable for us as we need to constantly retrieved and play the files.
            ...

            ANSWER

            Answered 2021-Jan-14 at 11:53

            As mentioned by @GAEfan, you can't change this limit on GAE. The recommended approach would be to upload your files to Google Cloud Storage and then process the file from Google Cloud Storage.

            Source https://stackoverflow.com/questions/65606827

            QUESTION

            Laravel Chunk Upload skipping one chunk
            Asked 2020-Apr-01 at 13:14

            I am using laravel-chuck-upload in combination with dropzone.js. Everything works fine, the chunks are uploading and when they are uploaded the final file will be saved in S3. The problem is that 1 chunk is always missing. Sometimes .8.part is missing, sometimes .7.part is missing (they remain in the chunks directory after uploading). When I upload a video that has a total size of 9.7MB the file in S3 is 8.7MB. That is 1mb missing, the same size as the missing part. All the chunks are 1MB in size.

            What could be the problem and how can I fix this?

            Edit: I think I have found the problem, but not the fix. When the last chunk (10th) is uploaded it thinks all the chunks are uploaded but the 8th chunk isn't finished uploading yet.

            ...

            ANSWER

            Answered 2020-Apr-01 at 13:14

            Extended the DropZoneUploadHandler with my own isLastChunk method. This way the file gets uploaded when it's really the latest chunk. The only problem is that dropzone.js triggers the chunksUploaded event for the last chunk call and not for the last completed chunk.

            Source https://stackoverflow.com/questions/60969458

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install laravel-chunk-upload

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            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.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pionl/laravel-chunk-upload.git

          • CLI

            gh repo clone pionl/laravel-chunk-upload

          • sshUrl

            git@github.com:pionl/laravel-chunk-upload.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link