Choose the short domain first
The app must be reachable at the root of its domain, because a short link is justyour-domain.com/abc123. Good choices:
- A subdomain such as
go.yourbrand.com(best: the main site is untouched). - A separate short domain you bought for the purpose.
- Your main domain, only if nothing else is already served from it.
What you need
- PHP 8.2 or newer with the extensions bcmath, ctype, curl, dom, fileinfo, filter, gd, hash, mbstring, openssl, pdo, session, tokenizer, xml, zip and zlib
- MySQL 5.7+ or MariaDB 10.3+ (SQLite works for small installs)
- HTTPS on the short domain, so links look trustworthy and scans do not warn
- A cron job every minute (it sends invitation and reset emails from the queue)
- An SMTP account for invitations and password resets
Steps
1
Create a database
In your hosting panel, create an empty MySQL database and a user with all privileges on it.
2
Upload the files
Unzip the release on your computer and upload its contents. Best: make the domain’s document root the
public/ folder. If your host does not allow that, upload everything into public_html; the bundled .htaccess then serves only public/ and blocks everything else.3
Open your site
You are sent to the installer: Requirements, Database, then Administrator (your site address, company name, your name, email and a password of at least 10 characters; the license key is optional). Enter the address of the short domain, with
https://.4
Finish up
The last screen shows the cron job to add, and checks that your private files cannot be downloaded from the web.
/login).
After installing
-
Add the cron job, every minute (the installer shows the exact line):
- Set up email under Settings → Email: see Settings, team and your account.
- Choose your defaults under Settings → Links: see Link settings.
- Create a link and click it to check that the redirect works.
The address you enter in the installer is the one used to build every short link and QR code. If you move to another domain later, change
APP_URL in .env, and QR codes you printed with the old address will keep pointing at the old one.Hosting on Docker or Coolify
SetAPP_KEY before the first start and keep it: it is also used to make the daily visitor fingerprints. Run php artisan schedule:run every minute as a scheduled task. Update by deploying the new version.