Download the PHP package dandysi/laravel-batch-upload without Composer

On this page you can find all versions of the php package dandysi/laravel-batch-upload. 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-batch-upload

Laravel Batch Upload

A framework to help manage/automate/process data uploads (such as CSV), using your business logic. It has potential to be much more than just a databse update tool.

Install

Config

Configure this package by changing the values in config/batch-upload.php.

Getting Started

The first step is to create a processor (an engine for processing row data). It is a simple PHP class and can be created with the following maker command:

Add the processor to the config/batch-upload.php config file.

Define the columns/validation rules and implement code to handle the uploaded row data.

Creating Batches

Ordinarily this would not be in one step, however the below outlines all the required stages.

If validation errors occur, they will be recorded against each row and the status of the batch/row will reflect this.

Scheduled Batches

Schedule batches with an additional option and not performing step 3 above.

To ensure scheduled batches are dispatched you will need to add a schedule command in the console kernel:

or create your own cron entry to execute the following:

User Batches

If your batches need to be identifiable by users, another option can be added during the creation step:

Console Commands

Create and dispatch a batch straight away:

delay by minutes --delay=60 or indentify with a user --user=user123. Delays will require the schedule command/cron step outlined above to be in place.

License

Open-sourced software licensed under the MIT license.


All versions of laravel-batch-upload with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.37
illuminate/console Version ^10.37
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 dandysi/laravel-batch-upload contains the following files

Loading the files please wait ....