nkeneng/symfony-varnish-skeleton 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nkeneng/symfony-varnish-skeleton

最新稳定版本:1.0.0-stable

Composer 安装命令:

composer create-project nkeneng/symfony-varnish-skeleton

包简介

The Symfony Varnish Skeleton template

README 文档

README

🚨🚨 I tried it with a docker version 20 and didn't work , then I upgraded to 23 and it worked fine 🚨🚨

This is a template repository for bootstrapping a Symfony project with additional PHP libraries integrated. The included libraries are:

  • friendsofsymfony/http-cache-bundle
  • symfony/http-client
  • nyholm/psr7
  • guzzlehttp/promises
  • webpack

The template also includes default configuration for the httpcachebundle to get the Varnish server working.

The project runs inside a Docker stack composed of

  • PHP-FPM,
  • Caddy,
  • MySQL
  • Varnish.

💡💡 This Docker stack is based on the dunglas/symfony-docker template.

Getting Started

To use this template, follow these steps:

  1. Define the required environment variables in the .env file.
  2. Replace the PROJECT variable in the .env file to your project name in lowercase
  3. Do a search and replace in the dockerfiles directory to replace ${PROJECT} with the name of your project you inserted in the .env file . For example, if your project name is MyProject, you would replace ${PROJECT} with myproject.
    • That is because the variable ${PROJECT} i tried to use is not working. So I have to replace it manually.
  4. Install the symfony app using the command:
    make install
  5. Build the Docker images using the command:
    make build
  6. Run the Docker containers using the command:
    make up

Contributing

If you would like to contribute to this template, please open an issue or submit a pull request on GitHub.

License

This template is licensed under the MIT License. See the LICENSE file for details.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: VCL

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-10