jelix/helloworld-module

jelix模块的示例。

安装: 127

依赖: 0

建议: 0

安全性: 0

星标: 0

关注者: 3

分支: 0

公开问题: 0

类型:jelix-module

v1.0.1 2019-01-05 13:17 UTC

This package is auto-updated.

Last update: 2024-09-25 00:06:43 UTC


README

这是一个Jelix模块,展示一个非常简单的控制器。

安装

像其他Jelix模块一样手动安装,或者如果你使用Composer安装了Jelix 1.6.9+,可以使用Composer。

在你的项目中

composer require "jelix/helloworld-module"

Jelix 1.6中

在应用程序配置中声明模块,mainconfig.ini.php

[modules]

helloworld.access=2

然后启动安装程序以激活模块

php yourapp/install/installer.php

Jelix 1.7+

启动应用程序的配置器以启用模块

php yourapp/dev.php module:configure helloworld

然后启动安装程序以激活模块

php yourapp/install/installer.php