nhagemann/anycontent-repository-mysql-php

此包已被废弃且不再维护。作者建议使用 nhagemann/anycontent-backend 包。

1.0 2015-10-05 08:09 UTC

README

安装

Composer

只需创建一个包含以下内容的 composer.json 文件,然后运行 composer install

{ "require": { "php": ">=5.3", "nhagemann/anycontent-repository-mysql-php": "0.9.*" }, "scripts": { "post-update-cmd": "AnyContent\Repository\Command\Installer::postInstallUpdate", "post-install-cmd": "AnyContent\Repository\Command\Installer::postInstallUpdate"

},
"minimum-stability": "dev",
"prefer-stable": true

}

Web 服务器(虚拟主机)配置

然后配置您的 web 服务器以提供 /web 文件夹的内容,例如 acrs.dev

模块配置

进入 /config 文件夹,并将文件 modules.example.php 复制到 modules.php

如果您想自定义安装,请查看该文件。您可以通过在此文件中移除模块的注册调用 ($app->registerModule()) 来关闭任何模块。

仓库配置

进入 /config 文件夹,并将文件 config.example.yml 复制到 config.yml

在此文件中,您必须指定至少您的数据库连接。