Download the PHP package le0daniel/laravel-resumablejs without Composer

On this page you can find all versions of the php package le0daniel/laravel-resumablejs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-resumablejs

laravel-resumablejs

This laravel Package implements a chunk uploading feature using upload handlers. The idea is, that you have one single Upload route and you pass the handler name to init the Upload to it. This handler then handles the authorization, and file processing. The Upload itself is managed by the Upload Controller globally.

Installation

The installation is done via composer

As the package comes with some migrations, run them.

The package comes with a config, so you should publish the package using

Installation

In the resumablejs.php config file, you need to declare Handlers to use this package. A handler always needs to extend the le0daniel\LaravelResumableJs\Contracts\UploadHandler Contract.

The methods to implement are pretty straight forward.

Javascript

A simple implementation of Resumable.js Requirements: axios,resumable.js

It's important to set the forceChunkSize parameter because each chunk is checked to have the exact Chunk size (except if it's the last one). If not, the chunk is marked as invalid and refused. Also, the chunkSize must be the same as defined in the laravel config (resumablejs.php)

Once a file is added, you need to call the init method with a handler name to get an upload token, which is then used to perform the upload itself.

As soon as the upload is done, we will call the complete endpoint to process the file

Done, you can now upload large files in chunks and process them easily.


All versions of laravel-resumablejs with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
laravel/framework Version ^7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package le0daniel/laravel-resumablejs contains the following files

Loading the files please wait ....