PHPackages                             virge/graph - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. virge/graph

ActiveLibrary

virge/graph
===========

PHP Workflow Service powered by RabbitMQ via Virge::Graphite

v2.0.1(8y ago)01381MITPHP

Since Apr 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/siosphere/virge-graph)[ Packagist](https://packagist.org/packages/virge/graph)[ RSS](/packages/virge-graph/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (7)Versions (8)Used By (0)

Virge::Graph
============

[](#virgegraph)

Virge::Graph is a simple workflow framework to provide scalable queue backed job processing.

Virge::Graph requires RabbitMQ () , and a MySQL Database ().

Virge::Graph uses the Virge::Graphite queue library to handle all of the workers, and scaling.

Getting Started
---------------

[](#getting-started)

You will need to setup a RabbitMQ Server, and a MySQL Server. Both can be setup easily using

You will need to include the virge/graph package in your project:

```
composer require virge/graph:dev-master

```

You will also need to create a Virge::Reactor and setup some configuration files.

If starting a project from scratch, you can use the virge/project

```
composer create-project virge/project

```

Which will setup the Reactor for you.

To add to existing projects, it is recommended to make a sub-folder to house the virge configuration files and reactor.

```
myproject/
    virge/
        config/
            database.php
            queue.php
        reactor.php
        vadmin.php

```

### Reactor

[](#reactor)

The reactor will automatically load all of the configuration files, and register the services needed into Virge.

```
