How It Works
TwigYard is a smart and simple solution for anyone who creates and operates numerous websites. One instance of the TwigYard app can serve many small and medium-size TwigYard websites. Compared to traditional solutions, the maintenance overhead is reduced almost to zero.
Features
TwigYard is a tool which makes working on simple websites as easy and enjoyable as possible. TwigYard is written in PHP and utilizes the popular Twig template engine which also gave it its name.
TwigYard is meant to fill the gap between static site generators on one hand and CMS’s on the other. Site generators are a simple, elegant and scalable solution, but too often the feature set they offer is just not good enough. On the other hand, CMSs have all the features, but the associated overhead can be needlessly expensive. TwigYard sits somewhere in the middle.
Simplicity
Creating a new TwigYard site is as easy as creating a new directory. All you need to start is a fairly simple configuration YAML and a Twig template.
Security
TwigYard doesn’t use databases – everything is in YAML files and Twig templates. There is no risk of SQL injection and the overall attack surface is small.
Twig templates
Most web developers are familiar with Twig – a flexible, fast and secure template engine for PHP. Templates can be easily reused in your Drupal or Symfony apps. This is perfect for quick prototyping.
Forms
Everybody needs a form. Form submission is processed by one or more handlers. For example, the form data can be emailed or logged, or both.
Images
No more manual resizing of pictures for the web. Just tell TwigYard the desired dimensions of a picture you need and the built-in image proxy will serve it up for you. This really saves time!
Data
All website data is stored in the filesystem, so deployments are simple and scaling out is easy. Also, since all files and configurations can be in your VCS, there is no need to worry about backups.
Localization
Create 1:1 multilingual websites with minimum overhead. TwigYard features a built-in translating engine and makes cross-linking between different language versions of individual pages a piece of cake.
Extensibility
We chose the best tools for the job, borrowing from PHP projects like Symfony, Zend or Nette, so you’ll feel right at home and you can start extending TwigYard to suit all your needs.
After having to set up yet another WordPress site I swore to myself that I will not go through that again. TwigYard makes delivering simple websites fun! It is cheap to extend and simple to deploy.

The TwigYard library is the best solution for beginners who do not have experience with Symfony, Nette, etc. Your code can be clearer and shorter when using the features that TwigYard provides.

TwigYard allows me to create any website or its prototype in seconds, and I can use all these fancy features without bothering the backend developers.

With TwigYard, I finally stopped doing all that mind-numbing, mechanical busywork. I can finally focus on what is unique on each given project. I especially love that TwigYard generates a picture in any dimensions I need.
