kitpages/common-step-bundle

此包包含一些通用处理过程,可作为KitpagesChainBundle的步骤使用。

dev-master 2013-04-23 11:35 UTC

This package is auto-updated.

Last update: 2024-09-04 19:24:58 UTC


README

此包包含一些通用步骤(复制目录、发送电子邮件、运行Unix命令等),这些步骤由KitpagesChainBundle使用。

版本

当前状态

此包处于早期alpha状态。

安装

在composer.json中添加KitpagesCommonStepBundle

{
    "require": {
        "kitpages/common-step-bundle": "*"
    }
}

现在运行以下命令告诉composer下载包

$ php composer.phar update kitpages/common-step-bundle

在AppKernel.php中,您需要添加KitpagesChainBundle和KitpagesCommonStepBundle

$bundles = array(
    ...
    new Kitpages\ChainBundle\KitpagesChainBundle(),
    new Kitpages\CommonStepBundle\KitpagesCommonStepBundle(),
    new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
);

用户指南