Complia · Quickstart
Complia Quickstart, as shipped in the download
The QUICKSTART.txt in the download — the same steps your delivery email carries.
COMPLIA — QUICKSTART
====================
REQUIREMENTS
------------
- PHP 8.0+ with extensions: pdo, pdo_sqlite (or pdo_mysql)
- MySQL 5.7+ OR SQLite 3 (SQLite requires no extra setup)
- A web server (Apache with mod_rewrite, or Nginx with try_files)
SHARED HOSTING / CPANEL (RECOMMENDED FOR MOST BUYERS)
------------------------------------------------------
1. Upload the contents of the `app/` folder to your web root (e.g. public_html/)
or a subdirectory (e.g. public_html/complaints/).
2. Make sure this directory is writable by PHP:
data/
Via cPanel File Manager: right-click -> Permissions -> set to 755 or 775.
3. Visit https://yourdomain.com/install/ in your browser.
4. Fill in the installer:
- Database: choose MySQL (fill in host/name/user/pass) or SQLite (no setup)
- Organisation name, complaints contact email, acknowledgement window
(DUAA s.103 default: 30 days), and timezone
- Admin email + password
5. The installer writes config.php and redirects you to the login page.
6. Log in. Your public complaint form is at /complain and the public status
page is at /track — link them from your privacy notice or website footer.
VPS / SELF-HOSTED (APACHE)
--------------------------
Point a vhost at the app folder; the shipped .htaccess handles routing.
Ensure `AllowOverride All` is set for the directory and mod_rewrite is enabled.
NGINX
-----
location / {
try_files $uri /index.php?$query_string;
}
location ~ ^/(config\.php|data|src|bin|tests|controllers) { deny all; }
LOCAL / EVALUATION (PHP BUILT-IN SERVER)
----------------------------------------
cd app
php -S localhost:8080 router.php
Then open http://localhost:8080/install/ and choose SQLite.
DEMO DATA (OPTIONAL)
--------------------
After installing, you can load sample complaints to explore:
php bin/demo.php
Demo login (only if no admin exists yet): admin@complia.app / admin123
BACKUPS
-------
SQLite: back up data/complia.sqlite. MySQL: back up your database. Either way,
also keep a copy of config.php.
SUPPORT NOTES
-------------
- The 30-day acknowledgement timer uses the timezone set in Settings.
- The audit CSV export (Dashboard -> Audit CSV) contains the full register:
every complaint plus its status history — suitable as ICO evidence.
- Complia is a records aid, not legal advice.
← Back to Complia · Manual · API · Test run