kitlabs / kit-soar-bundle
Symfony XiaoMi/soar (SQL优化器与重写器) Bundle
dev-master
2019-07-29 08:08 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-17 08:41:20 UTC
README
XiaoMi/soar (SQL Optimizer And Rewriter) 在 Symfony
安装
步骤1:下载Bundle
打开命令行,进入您的项目目录,并执行以下命令以下载此Bundle的最新稳定版本
$ composer require kitlabs/kit-soar-bundle
此命令需要您全局安装了Composer,如Composer文档中的安装章节所述。
步骤2:启用Bundle
然后,通过将其添加到项目中app/AppKernel.php
文件中已注册的Bundle列表中来启用此Bundle
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Kit\SoarBundle\KitSoarBundle(), ); // ... } // ... }
步骤3:配置
# app/config/config.yml kit_soar: