| config | ||
| docs | ||
| install | ||
| src/Installer | ||
| .gitignore | ||
| README.de.md | ||
| README.md | ||
LexNova
LexNova is a lightweight PHP-based system designed to manage dynamic legal pages — such as imprint and privacy pages — across multiple domains or projects.
It focuses on simplicity, modularity, and easy maintenance — without requiring manual edits in source files or databases.
✨ Features
- Centralized management of multiple entities, domains, and documents.
- Dynamic URL structure:
/imprint.php?hash=<slug>&mode=imprint|privacy - Clean HTML/CSS layout with optional Bulma integration.
- Versioned legal texts stored in a relational database.
- Admin UI and API optional – can be extended for automation.
- Perfect for personal projects, small hosting panels, or open source environments.
🧩 Tech Overview
Backend: PHP 8.1+ (Slim or Flight Framework optional)
Database: MariaDB / PostgreSQL
Frontend: Plain CSS or Bulma
Caching (optional): Redis / APCu
The structure is modular and can be embedded into existing systems or run standalone.
🚀 Quick Start
- Clone the repository (primary):
If you prefer the GitHub mirror:git clone https://git.diath.systems/DiamantTh/LexNova cd LexNovagit clone https://github.com/DiamantTh/LexNova cd LexNova - Run the installer (CLI example):
The installer checks PHP/PDO requirements, writesphp install/install.php --dsn="mysql:host=localhost;dbname=lexnova" --db-user="lexnova" --db-pass="secret" \ --admin-user="admin" --admin-email="admin@example.com" --admin-pass="demo123"config/config.php, seeds demo data (disable with--skip-seed), and blocks repeat runs via.lexnova_setup.lockunless--forceis given. You can also openhttp://your-host/install/install.phpin a browser to configure the same options interactively. Manual SQL files remain indocs/for manual provisioning.Requires PHP 8.1+ with PDO (MySQL or PostgreSQL) and Argon2id support.
- Review
config/config.phpif you need to fine-tune credentials or environment-specific settings. - Open in browser:
http://localhost/imprint.php?hash=example&mode=imprint
ℹ️ After a successful run, secure or remove the
install/directory and keepconfig/config.phpoutside version control.
📄 License
LexNova is released under the AGPL-3.0 license.
You are free to modify, redistribute, and host it — as long as changes remain open.
🌐 Translations
Created with ❤️ for modular and accessible legal management.