static site generator in PHP 5.3 using symfony components