This repo contains the resources of the software.wikimedia.de website.
The website uses the Silex PHP micro-framework. It requires PHP 7.0 or later.
After cloning the repo, run composer install in the root directory.
For running the application, run php -S 0:8000 in web. No need to have a real server set up.
There are a few smoke tests that can be run with vendor/bin/phpunit
The HTML can be found in app/templates. The Twig template engine is used.
layout.htmlcontains the non-page-specific stuff such as menu, footer and JS/CSS loadingpages/contains one file per page, matching URL structure (plus.html)sections/contains page sections used on multiple pages via the Twigincludething
Resources such as JS, CSS and images can be found in web/
The stuff is based on Twitter Bootstrap and uses structure borrowed from the Modern Business bootstrap template.