MIRROR: TwigYard is a PHP library to host multiple websites written in the Twig templating language. http://www.twigyard.com

Clone this repo:
  1. 791505e Add support for recaptcha by Martin Bohal · 3 years ago master v4.1.0
  2. b4e308b Update docs generation stack and indtructions by Martin Bohal · 3 years ago
  3. 0141682 Fix url encoded flash success messages in forms by Martin Bohal · 3 years, 5 months ago v4.0.0
  4. ec198b0 Prevent Notice from being shown on page load by Martin Bohal · 3 years, 5 months ago
  5. 82246e0 Fix DI container definition to use new syntax by Martin Bohal · 3 years, 5 months ago

TwigYard

TwigYard is a PHP library to host multiple websites written in the twig templating language.

Please refer to the documentation for details.

Pull requests are welcome. Please make sure to write tests and use PSR-2. We use the Robo task runner, so before submitting a pull request please run $ robo test to make sure everything is in order.

Docs

Build:

To build the static site files run:

docker-compose run --rm mkdocs bash -c "sh /root/init-container.sh /workspace && cd docs && su docker-container-user -c 'mkdocs build'"

Dev:

To run the site locally for easy development run:

docker-compose run --rm --service-ports mkdocs bash -c "sh /root/init-container.sh /workspace && cd docs && su docker-container-user -c 'mkdocs serve'"

Site will be accessible at http://localhost:8000