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
Requires
- php: >=5.3.2
- symfony/config: ~2.4|~3.0
- symfony/dependency-injection: ~2.6,>=2.6.2|~3.0
- symfony/framework-bundle: ~2.7|~3.0
- symfony/http-kernel: ~2.7|~3.0
- transfer/transfer: ~1.0
Requires (Dev)
- phpunit/phpunit: ^4.7
README
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.