melisplatform/melis-platform-framework-silex-demo-tool

这个演示工具的目的是展示如何在 Melis 平台内部使用 Silex 框架,这样您就不必局限于 ZF。

v4.1.0 2020-02-07 05:02 UTC

This package is auto-updated.

Last update: 2024-09-16 16:49:12 UTC


README

这个演示工具的目的是展示如何在 Melis 平台内部使用 Silex 框架,这样您就不必局限于 ZF。

先决条件

此模块需要在 melisplatform/melis-platform-frameworks 存在的情况下才能运行。当使用 composer 时,这将会自动完成。

安装

composer require melisplatform/melis-platform-framework-silex-demo-tool

配置

此工具正常运行需要 /config/module.config.php 内的配置。
此工具需要 Silex 的 index.php 路径。

return [
  'third-party-framework' => [
     'index-path' => [
        '/Silex/web/index.php'
     ]
   ],
   ...
]