operations required for a practical solution [closed]

I need a minimal solution like https://github.com/ankitpokhrel/tus-php that will send large files to the server.

  • index.html, js.js, upload.php
  • Consisting of only 3 files like,
  • Chunk size value can be adjusted,
  • Working with XMLHttpRequest,
  • without additional things like composer etc.
  • It can work sending 7GB files,
    Can you suggest a code example?

I wanted to request a complete solution that would perform all 3 operations required for a practical solution.