Download the PHP package netlogix/migrations-jobqueue without Composer
On this page you can find all versions of the php package netlogix/migrations-jobqueue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netlogix/migrations-jobqueue
More information about netlogix/migrations-jobqueue
Files in netlogix/migrations-jobqueue
Package migrations-jobqueue
Short Description Run netlogix/migrations asynchronously using flowpack/jobqueue
License MIT
Homepage http://websolutions.netlogix.de/
Informations about the package migrations-jobqueue
Netlogix.Migrations.JobQueue
About Netlogix Migrations
This package provides the ability to run migrations of the netlogix/migrations
package (Netlogix.Migrations) asynchronously.
Installation
composer require netlogix/migrations-jobqueue
Configuration
To run a migration asynchronously, the Queue to be used needs to be defined:
The queue (In this example nlx-migrations
) must be configured in Flowpack.JobQueue.Common
(Check Github for more info)!
Usage
Simply use the AsyncMigration
interface in your migration:
When ./flow migrations:migrate
is run, the migration will instantly be marked as executed and an asynchronous job will be queued to the configured jobqueue.
All versions of migrations-jobqueue with dependencies
neos/flow Version ^7.3 || ^8.3
netlogix/migrations Version ^2.0
flowpack/jobqueue-common Version ^3.3