eo/redirect-bundle

Symfony2 重定向包

安装次数: 2,131

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

公开问题: 0

类型:symfony-bundle

dev-master / 1.0.x-dev 2014-06-02 21:33 UTC

This package is auto-updated.

Last update: 2024-09-23 23:57:42 UTC


README

Latest Stable Version Total Downloads

先决条件

本版本包需要 Symfony 2.1+

安装

步骤 1: 使用 composer 下载 EoRedirectBundle

在 composer.json 中添加 EoRedirectBundle

{
    "require": {
        "eo/redirect-bundle": "dev-master"
    }
}

现在运行以下命令让 composer 下载包

$ php composer.phar update eo/redirect-bundle

Composer 会将包安装到项目的 vendor/eo 目录。

步骤 2: 启用包

在内核中启用包

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Eo\RedirectBundle\EoRedirectBundle(),
    );
}

许可证

此包受 MIT 许可证的约束。请参阅包中的完整许可证。

Resources/meta/LICENSE

报告问题或功能请求

与该包相关的问题和功能请求在 Github 问题跟踪器中跟踪 https://github.com/eymengunay/EoRedirectBundle/issues