PHP Microsite Boilerplate

PHP Microsite Boilerplate

Open the Box!
PHP Microsite Boilerplate

Awesome. You rock!

Let's move to the repository ›

"PHP Microsite Boilerplate" is a PHP framework to create simple, yet strongly functional, fast, and secure websites on basically every environment.

Most frameworks and even boilerplates require an exhausting setup process, where you need to install multiple dependencies. This leads to a huge overhead of code, which you often do not need. All of those complexity is also a potential risk for your website. Furthermore, it is often not possible to use most solutions, if you need to deploy it on the cheapest shared hosting plan.

This framework/template is different and right for you, if...

  • You need to build a rather small website, with some functionality.
  • You choose PHP, because you want to do server-side scripting, while PHP is also maybe the only language, that runs on basically all hosting options.
  • You build this thing on your own or with a maximum of 1 other person. This makes best practice, but complex code structure more of an unnecessary overhead than a helpful concept.
  • You need to get it done fast, while you do not want to make compromises regarding security or performance.

Key Features

  • Easy routing.
  • Accelerated Mobile Pages (AMP) prepared.
  • Progressive Web App (PWA) prepared.
  • Multilanguage prepared.
  • Directus CMS integration (incl. local cache).
  • GDPR and CCPA ready (regular site and AMP).
  • Intelligent serviceworker cache.
  • Gettext support for easy translation (+ fallback if not installed on the server)
  • SEO optimized.
  • Automated sitemap generation.
  • Optimized for Social sharing.
  • Extensive in-code documentation.
  • Security Headers (.htaccess or via PHP).
  • Multiple security features (some of them require an Apache web server).
  • Prepared to run automated git deployments.
  • No (maybe sometimes breaking) external dependencies.
  • Developed to make it extremely easy for you to remove features or add your own things.

Let's build!

Got to the repository and get started!

Go to GitHub ›


The code is available under the GPU 3.0 license.

Explore the project on GitHub!