urbanway / construct
v5.1.6
2020-06-13 10:43 UTC
Requires
- php: >=5.5.0
- aura/router: ~2.3.1
- laminas/laminas-i18n: 2.7.3
- laminas/laminas-servicemanager: 2.7.7
- mangirdas/advanced-fs: 1.0.2
- phpmailer/phpmailer: 6.1.6
- psr/log: 1.0.2
README
"这是Construct。它是我们的加载程序。我们可以加载任何东西……从服装到设备、武器、训练模拟;我们需要的任何东西。" ——关于Construct的莫菲厄斯
由于Impresspages不再支持,Construct是其分支。https://github.com/impresspages/ImpressPages
这个存储库被用作主https://github.com/urbanway/construct存储库的库。这里存储了construct的最基本功能。从长远来看,这个存储库应该成为一个无需CMS的自给自足的construct框架。
文档
https://urbanway.github.io/construct-docs/docs
安装
如果您想从github使用最新版本,请按照以下步骤进行操作以使一切正常运行。
- 创建一个名为
composer.json
的文件,并在其中放入以下内容
{ "require": { "urbanway/construct": "^5.0.0" }, "scripts": { "post-install-cmd": ["php vendor/urbanway/construct/bin/setup.php public"], "post-update-cmd": ["php vendor/urbanway/construct/bin/setup.php public"] }, "autoload": { "psr-4": {"Plugin\\": "public/Plugin/"} } }
-
通过运行
composer install
安装所有composer依赖项 -
启动一个Web服务器来服务
public
目录。您还可以使用内置的PHP Web服务器,切换到public目录cd public
,并使用此命令启动Web服务器:php -S localhost:8000 index.php
-
打开您的Web服务器并导航到您正在使用的地址,例如
https://:8000
。 -
按照设置向导操作。