7 languages, 3 pages (What/How/Start), 80-line router, 98KB total.
Features:
- No database, no Composer, no build step — just files on disk
- nginx PHP isolation: only index.php executes
- Bot detection with browser heuristic bypass
- Rate limiting, structured weekly logs, geo-location, Telegram alerts
- Multi-language: Accept-Language auto-detect, nav dropdown
- Article sub-page routing via /start/{slug}
- Apache + Caddy config alternatives documented in Start page
- Sample config — no real keys or secrets
25 lines
1.4 KiB
PHTML
25 lines
1.4 KiB
PHTML
<section class="content-section">
|
|
<h2 class="section-title">A Zero-Dependency PHP Micro-Framework</h2>
|
|
<div class="section-content">
|
|
<p><strong>bare-site</strong> is a PHP micro-framework for static content websites. No database. No Composer. No ORM. No build step. Just files on disk.</p>
|
|
|
|
<p>It was built from 8 years of production use across company websites, enterprise identity-verification demos, and multi-language brochure sites. The core router is 80 lines. The entire framework — routing, bot detection, rate limiting, geo-location, Telegram notifications, structured logging, and session management — fits in 3 class files.</p>
|
|
|
|
<h3>What it's for</h3>
|
|
<ul>
|
|
<li>Company brochure sites with multiple languages</li>
|
|
<li>API-integration demos that need zero infrastructure</li>
|
|
<li>Documentation portals or static content delivery</li>
|
|
<li>Anything that doesn't need a database</li>
|
|
</ul>
|
|
|
|
<h3>What it's NOT</h3>
|
|
<ul>
|
|
<li>A WordPress alternative (no admin panel, no users, no plugins)</li>
|
|
<li>A headless CMS (no API, no content editing interface)</li>
|
|
<li>A Laravel competitor (no ORM, no migrations, no queues)</li>
|
|
</ul>
|
|
|
|
<p><strong>Philosophy:</strong> You don't need a hammer drill to punch a hole in cardboard. Most websites are cardboard. Use the right tool.</p>
|
|
</div>
|
|
</section>
|