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
1 line
655 B
PHTML
1 line
655 B
PHTML
<section class="content-section"><h2 class="section-title">Cos’è bare-site?</h2><div class="section-content"><p><strong>bare-site</strong> è un micro-framework PHP per siti web a contenuto statico. Nessun database. Nessun Composer. Nessun ORM. Nessun build step. Solo file su disco.</p><p>Sviluppato da 8 anni di utilizzo in produzione per siti aziendali, demo di identità e siti multilingue. Il router è di 80 righe.</p><h3>Casi d’uso</h3><ul><li>Siti vetrina multilingue</li><li>Demo di integrazione API senza infrastruttura</li><li>Portali di documentazione</li><li>Tutto ciò che non necessita di un database</li></ul></div></section>
|