giacomomasseron / prizy
Linear + Zendesk, together in one workspace: an issue tracker and a helpdesk sharing one set of people, one permission model and one source of truth.
Package info
github.com/giacomomasseron/prizy
Language:TypeScript
Type:project
pkg:composer/giacomomasseron/prizy
Requires
- php: ^8.3
- dedoc/scramble: ^0.13.30
- giacomomasseron/php-clean-architecture: ^2.0.2
- laravel/framework: ^13.8
- laravel/reverb: ^1.10
- laravel/scout: ^11.3
- laravel/tinker: ^3.0
- meilisearch/meilisearch-php: ^1.16
- spatie/laravel-multitenancy: ^4.1
Requires (Dev)
- carthage-software/mago: ^1.40
- deptrac/deptrac: ^4.6
- fakerphp/faker: ^1.23
- giacomomasseron/filo: ^1.2
- giacomomasseron/laravel-models-generator: ^3.0
- laravel/pail: ^1.2.5
- laravel/pao: ^1.0.6
- laravel/pint: ^1.27
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^4.7
- pestphp/pest-plugin-laravel: ^4.1
- phpunit/phpunit: ^12.5.12
- rector/rector: ^2.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Linear + Zendesk, together in one workspace.
The issue tracker your engineers want and the helpdesk your support team needs,
sharing one set of people, one permission model and one source of truth.
Website · Documentation · Self-host for free · Start developing
Why Prizy
Most teams run Linear (or Jira) for engineering and Zendesk (or Intercom) for support, and they pay for the gap between the two: tickets pasted into issues by hand, customers chased manually when a fix ships, and two sets of users and permissions to keep in sync.
Prizy is both tools in one app. Tickets and issues live in the same workspace, next to each other. When a customer reports a bug, the agent links the ticket to an engineering issue. Developers see it under Escalations, the customer's portal shows that engineering is working on it, and support reports count how many tickets needed engineering. Nobody copies and pastes, no sync job runs between two tools, and nobody needs a second login.
| Build: the Linear side | Support: the Zendesk side |
|---|---|
| Issues with statuses, priorities, labels, assignees and blockers | Shared ticket desk with filters, saved views and internal notes |
| Cycles, projects, milestones and a roadmap | SLA policies with business hours and breach tracking |
| Releases with a generated changelog | CSAT ratings, by email or right in the portal |
| Comments with @mentions and emoji reactions | Help Center: a public knowledge base with search, article versions and translations |
| Notifications inbox | Customer portal: magic-link sign-in, submit and follow requests |
| Tracker analytics | Support reporting: agents, SLA, channels, saved reports, CSV export |
| GitHub and Slack integrations | Contacts |
Both sides share the same foundation:
- every workspace lives on its own subdomain, and Postgres row-level security keeps each workspace's data isolated from the others;
- roles, plus developer and agent flags, show each person the side they work on;
- a versioned REST API (
/v1) with API tokens; - a full workspace export.
If you don't need a helpdesk, turn it off for the workspace.
Development
One command starts the whole development environment:
composer dev
composer dev does the following:
- sets the checkout up when it needs it: on a fresh clone, or after a pull changes the dependencies (see below);
- starts the app, PostgreSQL and Redis in Docker and waits until the database is healthy;
- runs the migrations and seeds a demo workspace;
- runs the queue worker, the live log tail and Vite with hot reload side by side in one terminal.
When it's up, open http://smoke.localhost:8001 and sign in as
smoke@example.com / password123. Press Ctrl-C once to stop everything.
The containers stay up, so the next start is fast.
You don't need to run migrations, start a queue worker or open another terminal
for Vite. composer dev does all of it. Running it again is safe: it applies
any pending migrations, and the demo seed is idempotent.
Before the first run
You need Docker (with Compose) and Node + npm on the host, plus Composer. Composer is only used to launch the scripts, so any PHP version on the host works; the app itself runs on PHP 8.5 inside the container.
Nothing else. A fresh clone starts with the same command:
git clone https://github.com/giacomomasseron/prizy.git && cd prizy composer dev
The first run sets the checkout up before it starts anything, which takes a few
minutes once. It copies .env.example to .env, builds the dev image with your
user and group id (so files the container writes stay yours), installs the PHP
dependencies inside the container, generates the app key and runs npm install.
Later runs skip each step that's already done, and install dependencies again
only after composer.lock or package-lock.json changes, for example after a
pull. composer setup runs the same steps without starting anything
(scripts/dev-bootstrap.sh).
The image is built only when it's missing. After a change to the Dockerfile,
rebuild it with
docker compose build --build-arg UID="$(id -u)" --build-arg GID="$(id -g)" app.
What's running
| Process | Runs in | What it does |
|---|---|---|
queue:listen |
container | processes queued jobs (QUEUE_CONNECTION=redis) |
pail |
container | live tail of the application log |
vite |
host | asset dev server with HMR |
composer dev keeps things light. It doesn't start WebSockets: broadcasts go to
the log and the UI falls back to polling. If you need the full real-time and
search stack, run this instead:
composer dev:full # + Reverb (WebSockets), Horizon and Meilisearch
In that mode Horizon owns the queue, so only pail and vite run in the
foreground.
| Service | URL / port | Started by |
|---|---|---|
| App (web) | http://localhost:8001 | dev, dev:full |
| Vite (HMR) | http://localhost:5173 | dev, dev:full |
| PostgreSQL | localhost:5433 |
dev, dev:full |
| Redis | localhost:6380 |
dev, dev:full |
| Reverb | localhost:8080 |
dev:full |
| Meilisearch | http://localhost:7700 | dev:full |
Demo logins
Prizy picks the workspace from the subdomain, so the app runs at
http://<slug>.localhost:8001 and not at the bare localhost:8001. Browsers
resolve *.localhost to your machine automatically, so you don't need to edit
/etc/hosts.
The seeded workspace is at http://smoke.localhost:8001. All passwords are
password123.
| Account | Sees |
|---|---|
smoke@example.com |
everything (owner, developer) |
member@example.com |
the issue tracker (developer, no support) |
agent-maya@example.com |
the support desk (agent, not developer) |
To create a workspace of your own, go to http://localhost:8001/signup.
Tests
docker compose exec app php artisan test # Pest: unit + feature npm test # Vitest npm run test:e2e # Playwright, against a running `composer dev`
composer devandcomposer dev:fullrun on the host. Run every otherartisanorcomposercommand throughdocker compose exec app …, becauseDB_HOST=postgresandREDIS_HOST=redisonly resolve inside the Docker network.
More detail is in docs/RUNNING.md, including
troubleshooting a blank page. For how the app is built, see
docs/multi-tenancy.md and
docs/roles.md.
Self-hosting
Prizy is free to run on your own server, and your data stays there.
scripts/install.sh takes a fresh Debian/Ubuntu or RHEL server to a running
Prizy with automatic HTTPS. It checks the machine, installs Docker and any other
missing tools, generates every secret, builds the image and starts the stack.
When it's done, it prints https://<domain>/signup, where you create your first
workspace.
First, point both example.com and *.example.com at the server. Every
workspace gets its own subdomain, and certificates are issued per hostname on
first request. If Cloudflare runs the domain's DNS, a CLOUDFLARE_API_TOKEN in
/data/prizy/source/.env, applied by running the installer again, gets one
wildcard certificate for every workspace instead (see .env.production.example).
Then, on the server as root, run:
curl -fsSL https://prizy.dev/install.sh | bash
It installs the latest release.
First it asks for your domain, the email address Let's Encrypt should use, and
whether to send email over SMTP or not at all. Then it clones that release into
/data/prizy/source. If you're not root, pipe it to sudo bash instead. To skip
the questions, pass the answers after bash -s --:
curl -fsSL https://prizy.dev/install.sh | bash -s -- --domain example.com --email ops@example.com --mail=smtp
Over ssh, connect with ssh -t: without a terminal the installer can't ask
anything, so it stops and names the flags it's missing. To read the installer
before you run it, download it first with
curl -fsSL https://prizy.dev/install.sh -o install.sh, then run
bash install.sh.
- Upgrading: run the same command again. It moves to the latest release;
press Enter to keep each current answer. It backs up
.envto/data/prizy/backups, fills in only the keys that are missing or empty, then rebuilds and migrates. It never overwrites an existing value. To install a particular release instead, add--ref v0.0.1. - Unreleased changes: copy a checkout to the server and pass
--source-pathinstead of--ref, for examplescp -r . root@your-server:/opt/prizy-srcand thenbash /opt/prizy-src/scripts/install.sh --source-path /opt/prizy-src. The checkout's own.envis never carried over: the installer generates a fresh production one, so a laptop'sAPP_DEBUG=trueandAPP_KEYcan't end up on a server. - Real-time:
--with-realtimeadds WebSockets (Reverb). Without it, the UI polls. - External PostgreSQL:
--db-hostruns Prizy against a PostgreSQL 16+ server on another machine, or a managed one, instead of the bundled container. Create its role withscripts/create-database-role.sqlfirst. The docs cover setting it up and moving an existing install. - Evaluating:
--mail=logsends no email, so portal magic-link sign-in, email verification, invitations and CSAT requests won't work. - Previewing:
--dry-runprints the plan and changes nothing. - Unattended installs: every flag and prompt has a
PRIZY_*environment variable. Add--yesto drive the install from a config-management tool with no terminal. - SMTP passwords: the installer refuses a value that contains
$, whitespace, or a leading or trailing quote, because Compose's dotenv parser would silently change it. Leave that setting empty and write it into/data/prizy/source/.envby hand. Later re-runs will leave it alone.
--help lists every flag and variable. The full guide is at
docs.prizy.dev.
Built with
Laravel 13 on PHP 8.5 · PostgreSQL 16 with row-level security · Redis · React 19 + TypeScript · Tailwind CSS v4 · Vite · Reverb (WebSockets) · Meilisearch (optional)
Links
- Website: https://prizy.dev
- Documentation: https://docs.prizy.dev/
License
Prizy is open-source software licensed under the MIT license.