transfer/bundle

Transfer Symfony 2 Bundle

Installs: 1 591

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

v1.0.3 2016-04-24 19:39 UTC

This package is not auto-updated.

Last update: 2024-04-16 05:07:04 UTC


README

Build Status Code Coverage

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require transfer/bundle

This requires Composer to be installed globally in your system.

Enable the Bundle

Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:

// app/AppKernel.php
class AppKernel extends Kernel
{
  public function registerBundles()
  {
      $bundles = array(
          // ...
          new Transfer\Bundle\TransferBundle(),
      );

      // ...
  }
}

Registering manifests

To register a manifest, create a new service tagged with the manifest tag:

manifest.test:
    class: Acme\Manifest\TestManifest
    tags:
        - { name: transfer.manifest }

Listing registered manifests

To list the registered manifests, run the following command:

php app/console transfer:manifest:list

Running manifests

To run a manifest, run the transfer:manifest:run command and pass the manifest name as the first argument:

php app/console transfer:manifest:run test_manifest

License

This bundle is under the MIT license. See the complete license in the bundle.