Open-source property management platform for boarding houses (kos), rentals, and apartments.
Open-source property management platform for boarding houses (kos), apartments, and rentals. Self-hosted, extensible, and built with Laravel + React.
OpenKOS handles the full rental lifecycle — properties, units, leases, tenants, invoices, payments, rent reminders, and maintenance — with a plugin architecture that lets you extend without forking.
# 1. Install PHP dependencies
composer install
# 2. Install frontend dependencies
npm install
# 3. Build frontend assets
npm run build
# 4. Run the installer (creates .env, sets up database, runs migrations, creates owner)
php artisan app:install
The app:install command is fully interactive — it prompts for database connection, site name, country, application URL, timezone, and owner credentials (with password confirmation). It sets production-safe defaults (APP_ENV=production, APP_DEBUG=false) and generates the app key automatically. Only one owner account can be created — subsequent runs will fail.
For non-interactive setups, you can manually configure .env before running app:install — it will skip environment setup and proceed straight to migrations and owner creation. Make sure a valid APP_KEY is already set (run php artisan key:generate if needed).
# Start all dev services (server, queue worker, logs, Vite)
composer run dev
# Or run individually:
php artisan serve --port=8080 # Laravel dev server
php artisan queue:listen --tries=1 # Queue worker (async jobs)
php artisan pail # Log viewer
npm run dev # Vite dev server with HMR
# Run tests
php artisan test --compact
OpenKOS has a plugin system that lets you register navigation items, dashboard pages, workspace tabs, settings pages, notification drivers, and payment gateways — all from a single plugin class without modifying core.
See docs/platform.md for the full guide, including manifests, versioning, registries, and the example plugin.
See docs/architecture.md for layer conventions, data flow, domain model, state machines, and testing patterns.
Key decisions are recorded as Architecture Decision Records (ADRs) in docs/architecture/adr/ — check there before making architectural changes.
MVP / v0.1 Alpha — actively developed. Core rental management flows are functional. Plugin system is foundation-level. Not yet production-hardened; expect breaking changes as the API stabilizes.
docs/architecture/adr/README.md)OpenKOS is open-source software licensed under the Apache 2.0 license.