Skip to content

IDCI-Consulting/GroupActionBundle

Repository files navigation

GroupActionBundle

This Symfony bundle allows to run an action on several abstract data type (array, entities, documents, ...) throught a form. The purpose is to give a simple way to create actions and display a form.

Introduction

Glossary

  • A group action is a Symfony service that will do any work you want. It will run a sequence of intructions on a dataset.
  • A namespace is, as its name say, a namespace to defined a list of several group actions can be retrieved by the configured namespace.

UML Schema

Simple schema

Installation

Add dependencies in your composer.json file:

"require": {
    ...
     "idci/group-action-bundle": "~2.0"
},

Install these new dependencies in your application using composer:

$ php composer.phar update

Register needed bundles in your application kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new IDCI\Bundle\GroupActionBundle\IDCIGroupActionBundle(),
    );
}

That's it, you are ready to use the bundle.

Documentation