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

一个Silex框架的演示工具逻辑

v3.2.0 2020-02-07 05:04 UTC

This package is auto-updated.

Last update: 2024-09-07 15:18:03 UTC


README

这是一个Silex模块的演示,该模块在Melis平台中渲染。

先决条件

此模块需要以下内容

  • melisplatform/melis-cms-news
  • melisplatform/melis-platform-framework-silex

当使用composer时,所需模块将自动安装。

安装

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

用法

为了加载和使用此提供者,您必须在Silex应用程序中注册此提供者,通常位于/Silex/src/app.php

use MelisPlatformFrameworkSilex\Provider\MelisSilexDemoTooolLogicServiceProvider;

$app = new Silex\Application();

$app->register(new MelisSilexDemoTooolLogicServiceProvider());

注意:此提供者必须始终在其余Silex提供者之前注册。