Download the PHP package mheads/yii-table-export-queue without Composer

On this page you can find all versions of the php package mheads/yii-table-export-queue. 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 yii-table-export-queue

Table Export Queue

Asynchronous table export module for Yii3/yiisoft projects. It extends mheads/yii-table: when a synchronous HTTP export cannot finish within the timeout, the export is queued, processed by a worker, and made available for later download.

Requirements

Installation

Install the package with Composer:

Apply the export table migration. See Migrations.

Quick Start

1. Configure Dependencies

Register the main interfaces:

Configuration example: Configuration.

2. Add HTTP Timeout Fallback

Use a timeout fallback orchestrator around the table HTTP orchestrator:

On ExportTimeoutException, the module creates a record with the queued status, pushes a job to the queue, and returns:

See HTTP timeout fallback.

3. Register User Actions

Register HTTP actions for exports owned by the current user:

See User actions.

4. Run a Worker

The queue worker must receive the raw payload from your queue transport and pass it to JobPayloadConsumer::consume(). JobHandler will restore the table, apply the filter/sort snapshot, run the export, and store the file.

See Worker consumer.

5. Schedule Cleanup

Add table-export:cleanup to cron/scheduler to delete canceled and expired exports and mark stale running exports as failed.

See Cleanup command.

Documentation

License

BSD-3-Clause. See LICENSE.


All versions of yii-table-export-queue with dependencies

PHP Build Version
Package Version
Requires php Version 8.3 - 8.5
yiisoft/db Version ^2.0.1
psr/http-message Version ^2.0
mheads/yii-table Version ^1.0
psr/http-server-handler Version ^1.0
yiisoft/input-http Version ^1.0
yiisoft/yii-console Version ^2.4
yiisoft/data-db Version ^1.0
httpsoft/http-message Version ^1.1
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 mheads/yii-table-export-queue contains the following files

Loading the files please wait ...