nascom/framework-bundle

Nascom项目的默认配置。

安装: 315

依赖者: 0

建议者: 0

安全: 0

星星: 0

观察者: 3

分支: 1

开放问题: 0

类型:symfony-bundle

1.0.2 2018-02-01 15:00 UTC

This package is auto-updated.

Last update: 2024-08-29 04:37:13 UTC


README

Symfony2 Bundle为Nascom项目提供默认配置。详情请见https://github.com/Nascom/NascomFrameworkBundle

安装步骤

第一步:下载Bundle

打开命令行,进入您的项目目录,执行以下命令下载此Bundle的最新稳定版

$ composer require nascom/framework-bundle

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

第二步:启用Bundle

然后,通过将其添加到项目app/AppKernel.php文件中注册的Bundle列表中启用Bundle

<?php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            
            new League\Tactician\Bundle\TacticianBundle(),
            new Nascom\FrameworkBundle\NascomFrameworkBundle(),
        );
        
        // ...
    }
    
    // ...
}

注意,目前TacticianBundle是一个硬依赖,所以请确保它也被包含在内...

许可证

MIT许可证(MIT)。有关更多信息,请参阅许可证文件