Here's a thing I made. It is supposed to be a sorta static website generator slash dynamic page loading thing. It basically works by grabbing a bunch of php files from a predefined directory, then arranging them appropriately on the screen. I originally made it about two years ago as an experimental way to develop the website for darkrealmgaming.com without so much redundancy. It basically just grew from there. Some people might think that this is pointless and a waste of time, but I don't really care because I have found it useful. I posted the code on GitHub. It also is very simple, so you can basically have it up and running in seconds by just cloning the git repo into your webroot, then you can update by simply pulling the changes. It's licensed under the MIT License because I don't really care what you do to it.
Just "git clone https://github.com/ColtonDRG/DynLoad.git ." from your webroot. If you don't have git, or don't to use it for some reason, you can also download and extract the master ZIP into your webroot. After cloning, copy the contents of .htaccess-dynload into your .htaccess if you're on Apache. If overrides are disabled, you can copy the contents of that file into your VirtualHost or Location block in your config. If you're on Nginx, copy the contents of .nginx-dynload into your Nginx config's server or location block. Next, proceed into the dynload directory and copy the config-sample.php file to config.php, then open up the file and change the configuration accordingly. Finally, put your header in the header.php file, footer in the footer.php file, html <head> section in the htmlhead.php file, and the bodies of your pages in php files in the content directory.
I'll make a more complete documentation at a later date.... Maybe....
As of version 3.2.1, it supports Apache HTTPD and Nginx! Lighttpd never maybe?