Coder Social home page Coder Social logo

welpdev / batchoperation-bundle Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 547 KB

a Batch processing system for Symfony applications

Home Page: https://welpdev.github.io/batchoperation-bundle/

License: MIT License

PHP 100.00%
php symfony symfony-bundle bundle packagist batch batch-processing batch-api

batchoperation-bundle's Introduction

WelpBatchBundle

Build Status GitHub license Documentation

Symfony Bundle to manage batch operation. You can choose whatever broker you want (default is RabbitMq)

Features

  • Support RabbitMq
    • Automatically create producer
    • Automatically create consumer
    • Automatically create queue
    • Support create/Delete Action
    • Dispatch Event with the entity created/deleted
    • Support custom action
    • Exploit Batch Size
  • Manage Batch, batch Status, Batch Event
  • Rest Controller
  • Support Redis as a broker
  • Support other Broker
  • Delete Batch and operations from queue, and revert actions

Quickstart

Add the bundle to your project

composer require welp/batch-operation-bundle

Add Welp\BatchBundle\WelpBatchBundle to your AppKernel.php:

$bundles = [
    // ...
    new Welp\BatchBundle\WelpBatchBundle(),
];

Extends the BatchModel

Create a entity which extends out Welp\BatchBundle\Model\BatchModel

use Doctrine\ORM\Mapping as ORM;
use Welp\BatchBundle\Model\Batch as BaseBatch;

/**
 * @ORM\Entity()
 * @ORM\Table(name="batch")
 * @ORM\HasLifecycleCallbacks
 */
class Batch extends BaseBatch{
    ...
}

Minimal Configuration

welp_batch:
    entity_manager: doctrine.orm.entity_manager
    batch_entity:
        batch: MyBundle\Entity\Batch

Full Documentation

you can find the full documentation at https://welpdev.github.io/batchoperation-bundle/

batchoperation-bundle's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.