tflori/riki-skeleton

使用 riki 框架的骨架应用

安装: 13

依赖项: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 0

公开问题: 1

类型:项目

v1.0.0-rc.4 2023-09-20 09:09 UTC

This package is auto-updated.

Last update: 2024-09-20 11:33:28 UTC


README

请不要在家尝试。这是一个高专业度的 riki 应用骨架,尚未完成且未经过测试。我甚至不确定它是否会被测试,但我确定我会为 ríki 社区使用它。

贡献

在每一个 PHP 文件中都要使用 PSR-2,在其他地方我们会看看它是否看起来不错。

确保你的更改能正常工作。你可以通过 skeleton/post-create --debug <filename> 尝试模板,或者克隆/复制源代码到第二个文件夹并执行 composer install

启动项目

要使用此骨架启动项目,你需要安装 php 和 composer。我们强烈建议在使用此骨架之前阅读 指南。此外,在 Linux 上开发一切都会更加顺畅,但 Mac 也完全可行 - 我们推荐使用 docker,在 Windows 上你需要一个 VM 来运行 docker。

tflori@host $ composer create-project tflori/riki-skeleton projects/riki/community
...
#############################################################
# Thanks for using riki-skeleton!                           #
#                                                           #
# Unfortunately composer is still not able to pass stdin to #
# the post-create script. And because we need to ask you a  #
# few questions you have to start the setup manually by     #
# executing:                                                #
# ./setup                                                   #
#############################################################
tflori@host $ ./setup
What's the name of your project? [ tflori/community ] tflori/riki-community

What's the namespace for your sources? [Community] 

Do you want to use docker? [ Y / n ]

...