CRM for Internet Service Providers, built on CakePHP.
- Customer Relationship Management system aimed at small and mid-size ISPs (customer / contract / billing / IP address management).
- Generates invoices in dBase format for the POHODA Stormware bookkeeping software.
- Integrates with optional services for RADIUS accounting, RouterOS device inventory, the geo-addresses-postgis registry lookup API (CZ RUIAN / HR DGU), and a few SaaS providers (Eurofaktura, SledovaniTV, Android SMS Gateway, …).
- PHP 8.2 or newer
- PostgreSQL
- Redis
- PECL
dbaseextension (only when using the POHODA invoice export)
The Docker Compose stack below provides PostgreSQL and Redis out of the box, so on a fresh host you only need Docker.
Two install paths are supported. Docker Compose is recommended.
git clone https://github.com/Mapiiik/Watcher-CRM.git
cd Watcher-CRM
cp config/.env.example config/.env
# edit config/.env — set APP_NAME and any integration URLs / API keys
docker compose -f compose.production.yaml up -dThe production image runs composer run-script migrations and rebuilds the
schema cache automatically on container start, so the app is reachable at
http://localhost (and https://localhost with a self-signed cert) once the
container is healthy. Set SERVER_NAME in the compose environment to a real
domain to enable Let's Encrypt issuance via the bundled acme.sh.
For hosts already running their own PHP webserver:
git clone https://github.com/Mapiiik/Watcher-CRM.git
cd Watcher-CRM
composer install --no-dev
cp config/.env.example config/.env
# edit config/.env — at minimum DATABASE_URL and CACHE_*_URL
composer run-script migrations
composer run-script schema-cachePoint your webserver's document root at the webroot/ directory. Install the
PECL dbase extension if you plan to use the POHODA invoice export in dBASE format.
Runtime settings live in config/.env (or are passed in as environment
variables — see the environment: blocks in the compose files for the keys
read at boot). config/.env.example is the canonical list; common groups are:
- Database / cache:
DATABASE_URL,CACHE_*_URL - Integrations:
WATCHER_NMS_URL/_KEY,WATCHER_AGENT_URL/_KEY,ADDRESSES_API_URL/_KEY,EUROFAKTURA_API_URL,ANDROID_SMS_GATEWAY_URL, …
If compose.production.yaml doesn't fit your environment, copy it to
compose.yaml and customize there — compose.yaml is git-ignored, so
git pull won't overwrite your changes.
cp compose.production.yaml compose.yaml
# edit compose.yaml as needed
docker compose up -dTypical reasons to override: pointing services at infrastructure already running on the host (e.g. an existing PostgreSQL instance, external Redis, reverse proxy), removing bundled containers you don't need, or tweaking volumes / networks.
Two compose files target local development:
compose.dev-frankenphp.yaml— FrankenPHP (HTTP/1.1, HTTP/2, HTTP/3)compose.dev-nginx.yaml— classic nginx + PHP-FPM
Both bind-mount the working tree into the container and place vendor/,
tmp/, logs/, node_modules/, plus the PostgreSQL data directory and
Redis data on tmpfs — fast iteration and disposable state, but everything in
those paths is lost when the stack is torn down.
docker compose -f compose.dev-frankenphp.yaml upThe Postgres and Redis ports are exposed to the host (5432, 6379) so you
can connect with local clients while the stack is running.
Watcher CRM is licensed under the GNU Affero General Public License v3.0. Copyright (c) 2026 Martin Patočka.
You are free to use, modify and run this software. If you modify it and make it available to others (including as a network service), you must also make your modifications available under the same license.