php-microsite-boilerplate

An extremely simple and lightweight PHP framework/boilerplate to spin-up microsites at high speed. Optimized for Performance, Security, SEO, TailwindCSS and Directus CMS.

cssphptemplateboilerplatepwahtml5php-frameworkgettextmicrositedirectushtml5-boilerplatecms-frontend

Preview

php-microsite-boilerplate preview

Overview

PHP Microsite Boilerplate is a lightweight PHP framework designed to ship fast and build small, functional websites on any hosting environment without complex dependencies or setup overhead. Built on PHP with optional TailwindCSS, it includes routing, PWA support, multilanguage capability, Directus CMS integration, SEO optimization, automated sitemaps, security headers and Docker support for local development, making it ideal for solo developers or small teams who need performance and security

Features

easy-routingprogressive-web-appmultilanguage-supportdirectus-cms-integrationdocker-composetailwindcss-includedgdpr-readyccpa-readyservice-worker-cachegettext-translationseo-optimizedautomated-sitemap-generationsocial-sharing-optimizedyoutube-integrationcss-optimizationjavascript-optimizationsecurity-headersgit-deployment-readynginx-supportapache-support

Feature Flags

subscriptionsblogseolandingpageecommercefileUploadsauthorizationi18njobsQueuesearchcmswebhookscachingmapspwa

Recommended Use Cases

small-websitesmicrositesfeature-rich-websitesshared-hosting-deploymentfast-developmentcontent-driven-sites

Frontend

html5javascripttailwindcss

Backend

php

Auth Providers

None

Deployment Targets

dockerazureshared-hostingapachenginxmicrosoft-azure

Payment Providers

None

Quick Facts

โญ Stars
196
๐Ÿด Forks
43
๐Ÿงพ License
gpl-3.0
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-07-28T21:39:51.000Z

Stack

Framework
php
Language
php
CSS
tailwindcss
i18n
gettext

Data Layer

Databases
directus

UI Stack

Styling
tailwindcss

Developer Experience

Docker
Yes
Tests
No
Quickstart
Yes
env.example
No

Pricing

Classification
free
Selected
โ€”
Notes
Open source GPL 3.0 licensed project
Get Started with this Boilerplate