opportus/extended-framework-bundle

此包通过提供通用化通用开发过程的功能,扩展了Symfony框架,以构建更快、更坚固的架构的Symfony应用程序。

v1.0.0-alpha.2 2019-06-09 16:25 UTC

This package is auto-updated.

Last update: 2024-09-27 10:23:01 UTC


README

此包通过提供通用化 均匀 的通用开发过程的功能,扩展了Symfony框架,以构建更快、更坚固的架构的Symfony应用程序。

此包仍在ALPHA阶段。

欢迎贡献。

有关具体用法示例,请参阅示例应用程序

待办事项

  • 改进文档
  • 实现测试

索引

安装

使用Symfony Flex的应用程序

打开命令控制台,进入您的项目目录并执行

$ composer require opportus/extended-framework-bundle

不使用Symfony Flex的应用程序

步骤1 - 下载包

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

$ composer require opportus/extended-framework-bundle

步骤2 - 启用包

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

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Opportus\ExtendedFrameworkBundle\OpportusExtendedFrameworkBundle(),
        );

        // ...
    }

    // ...
}