grossum/news-bundle

此捆绑包添加了带有以下字段的News实体:名称、电子邮件和消息

安装: 76

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 8

分支: 1

开放性问题: 0

类型:symfony-bundle

1.0 2016-12-13 15:00 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:21:27 UTC


README

步骤 1:下载捆绑包

打开命令行,进入项目目录,并执行以下命令以下载此捆绑包的最新稳定版本

$ composer require grossum/news-bundle "~1"

此命令需要您已全局安装Composer,请参阅Composer文档中的安装章节

步骤 2:启用捆绑包

然后,在项目的app/AppKernel.php文件中添加以下行以启用捆绑包:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Grossum\NewsBundle\GrossumNewsBundle(),
        );

        // ...
    }

    // ...
}