🇬🇧 English | 🇩🇪 Deutsch
Self-hosted group expense splitting app with SEPA GiroCode, PayPal & Wero payment links, PDF/CSV export and 2FA admin login. PHP, no framework.
Think Splitwise, but self-hosted on your own webspace, with no account or app required for participants — groups are shared via a link.
- Group expenses — create a group, add members, log expenses, split them evenly or by custom shares.
- Settle up — each member sees who owes whom and how much; settling can be marked manually or paid directly via:
- SEPA GiroCode (scannable QR code for bank transfer apps)
- PayPal.me link
- Wero link
- Receipts — attach a photo to any expense (stored outside the web root's direct reach, served only through a PHP script).
- Export — download a group's expenses as PDF or CSV.
- Admin dashboard — separate admin login per instance, protected with:
- TOTP (authenticator app) two-factor login
- WebAuthn / Passkeys
- Email — invite links and notifications via SMTP, system
sendmail, or the Brevo API — configurable in the admin settings, no code changes needed. - Multi-language — German and English out of the box (
languages/de.json,languages/en.json). - Guided installer — a web-based install wizard writes
config.phpand sets up the database schema; no CLI access required. - Cron cleanup — an optional standalone script (
cleanup.php) purges old/empty groups on a schedule.
You can see a Live-Demo at: zahltag.n-systeme.de
- PHP >= 8.1 with the
pdo_mysql,gd, andmbstringextensions - MySQL / MariaDB
- Apache with
mod_rewriteand.htaccesssupport (an.htaccessis included and required for routing and security headers)
All PHP dependencies (dompdf, endroid/qr-code, WebAuthn, IBAN validation, …) are already vendored in this repository under vendor/ — no Composer required on the target server. You can simply upload the files and run the installer.
- Upload the contents of this repository to your webspace (e.g. via FTP/SFTP).
- Make sure
uploads/and its subfolders are writable by PHP. - Open the site in a browser — you'll be redirected to the install wizard automatically as long as no
config.phpexists yet. - Follow the wizard: it creates the database schema and writes
config.phpfor you. - Log in to
/adminwith the admin credentials you set during install, and configure email delivery under Settings.
To reinstall, simply delete config.php (the installer refuses to run while it exists).
Runtime configuration lives in config.php (created by the installer, never committed to git — see .gitignore). Use includes/config.example.php as a reference for the expected structure if you need to set it up manually:
return [
'db' => [
'host' => 'localhost',
'name' => 'zahltag',
'user' => 'db_user',
'password' => 'db_password',
'charset' => 'utf8mb4',
],
'app' => [
'secret' => 'RANDOM_32_BYTE_HEX_STRING_HERE', // random_bytes(32) hex
'debug' => false,
'base_url' => 'https://example.com',
],
];Everything else (site logo, legal notice text, email delivery method/credentials) is configured through the admin Settings page and stored in the database — no further file edits needed.
config.php,*.log,*.sql,*.lockand similar files are denied at the webserver level via.htaccess.- Receipt photos under
uploads/receipts/are blocked from direct URL access and served only through an authenticated PHP endpoint. - Admin login supports TOTP and WebAuthn/Passkeys in addition to a password.
Plain PHP (no framework), MySQL/MariaDB, vanilla JS/CSS on the frontend. Key libraries: dompdf (PDF export), endroid/qr-code (GiroCode/TOTP QR codes), lbuchs/webauthn (Passkeys), jschaedl/iban-validation.
AGPL-3.0-or-later — see LICENSE.txt.
Copyright (C) 2026 Niko Winckel – n-systeme.de