2lenet/

sf7

维护者

详细信息

github.com/2lenet/sf7

源代码

问题

安装: 7

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 0

开放问题: 0

语言:Makefile

类型:项目

7.0.5 2024-08-12 08:06 UTC

This package is auto-updated.

Last update: 2024-09-12 08:24:12 UTC


README

Sf7 2le 项目模板

要启动项目,请按照以下步骤操作

composer create-project 2lenet/sf7 project_name --no-scripts

或者使用 docker

docker run -it -v $PWD:/var/www/html registry.2le.net/2le/2le:base-sf6 composer create-project 2lenet/sf7 project_name --no-scripts

对所有食谱问题回答“是”,除了 Doctrine

cd project_name
make init
make install

将项目添加到 git(git init 或添加到现有项目)

make start

为包实体创建第一个迁移

make console
bin/console make:migration
bin/console doc:mi:mi

这将创建您的项目,并在配置文件中修改所有对[PROJECT]的引用

之后,您将拥有

  • sf7 项目
  • Docker 和 Docker Compose 配置
  • 带有测试、构建和部署的 CI
  • PHPStan、PHPCS 和 SonarQube 配置