Download the PHP package nkeneng/symfony-varnish-skeleton without Composer
On this page you can find all versions of the php package nkeneng/symfony-varnish-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nkeneng/symfony-varnish-skeleton
More information about nkeneng/symfony-varnish-skeleton
Files in nkeneng/symfony-varnish-skeleton
Package symfony-varnish-skeleton
Short Description The Symfony Varnish Skeleton template
License MIT
Informations about the package symfony-varnish-skeleton
Symfony Project Template + docker + varnish
🚨🚨 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:
- Define the required environment variables in the .env file.
- Replace the PROJECT variable in the .env file to your project name in lowercase
- 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.
- Install the symfony app using the command: `
- Build the Docker images using the command: `
- Run the Docker containers using the command:
`
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.