Giter VIP home page Giter VIP logo

oneofftech / laravel-tus-upload Goto Github PK

View Code? Open in Web Editor NEW
50.0 4.0 13.0 64.98 MB

A package for handling resumable file uploads in a Laravel application via the http://tus.io/ resumable file upload protocol.

Home Page: https://oneofftech.xyz/open-source/

License: MIT License

PHP 99.18% Shell 0.82%
tus upload laravel laravel-tus-upload windows-subsystem resumable-upload hacktoberfest

laravel-tus-upload's People

Contributors

avvertix avatar dependabot[bot] avatar jewishmoses avatar romanzipp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-tus-upload's Issues

Error in PATCH request to tus server

Hi,
I tried to uplod files to tus server but it is responding with 500 error on patch request and response says

Lockfile created, but doesn't exist

This is the request flow in my network tab

capture

This is the output from artisan command

capture2

Did you faced same situation like this ?

Help is appreciated.

Laravel 10 support

The dependencies conflict with Laravel 10.

I am still learning about how resumable uploads work and I don't know enough about this package to know if a simple dependency update would break anything.

Thanks.

Getting pre-create hook failed: exec: on Windows 10 with linux subsystem

Hey! it's a nice package, so i am trying to using this package on windows 10 with linux subsystem on it and getting this error messages

ERROR output -----------------
[tusd] 2020/12/04 10:56:37 event="HookInvocationError" type="pre-create" id="" error="exec: "D:\\Projects\\klinik_derla\\vendor\\oneofftech\\laravel-tus-upload\\hooks\\win\\pre-create": file does not exist"

Trying to solve this by googling and found this issue on tusd
tus/tusd#267

  • are there's any pull requests regarding this issue? or any tweaks that i can use to make this work?

  • If my production server is using fedora/linux are there's any config that i need to change beside setting that i use on my local development?
    `

Laravel 5.6 Support

Would like to implement Tus.io on our Laravel app, however I cannot install because of package requirements for illuminate/events 5.4.* etc.

Dependies Error

Help!

Run composer require oneofftech/laravel-tus-upload

Problem 1
- Root composer.json requires oneofftech/laravel-tus-upload ^0.10.1 -> satisfiable by oneofftech/laravel-tus-upload[v0.10.1].
- oneofftech/laravel-tus-upload v0.10.1 requires illuminate/auth 6.|7.|8.* -> found illuminate/auth[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.

How to fix?

Trait "OneOffTech\Uploaddy\HasUploads" not found

When following the setup guide, I added the HasUploads trait to my User class. After that, I got this error on my page:

Symfony\Component\ErrorHandler\Error\FatalError
Trait "OneOffTech\Uploaddy\HasUploads" not found

For testing, I changed the namespace of HasUploads from OneOffTech\Uploaddy to OneOffTech\TusUpload. This is the namespace that is defined for the other classes within the same folder. With that change, it works fine.

I do not know much about how the autoloading with composer works, but I doubt that this is how it's supposed to work. It his my fault, or is it laravel-tus-upload's fault? Can I fix this without having to edit HasUploads?

tus:start tusd-mac permission denied

I'm trying to start the Tus.io server with php artisan tus:start however I'm getting the following error:

ERROR output -----------------
sh: /Users/Matt/Development/PHP/test/bin/tusd-mac: Permission denied
sh: line 0: exec: /Users/Matt/Development/PHP/test/bin/tusd-mac: cannot execute: Undefined error: 0

I tried to set the executable and hooks dirs in tusupload.php to the vendor folder version, it also has the same error.

doesn't upload

Thank you for the package.

i follow carefully all the instructions.
Started tus server, but absolutely no upload occurs.

I am testing it on MAMP / OSX / NGINX properly pointed the endpoint. But no upload at all happened. I tried to proxy_pass the nginx server with no success.

What am I doing wrong?

Thank you for your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.