transfer/bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

transfer/bundle

最新稳定版本:v1.0.3

Composer 安装命令:

composer require transfer/bundle

包简介

Transfer Symfony 2 Bundle

README 文档

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.

统计信息

  • 总下载量: 1.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-11