Skip to main content
Contracts runs on ordinary shared hosting (cPanel, Plesk, DirectAdmin). You do not need SSH, Composer or Node.js. For the steps every Azvian app shares, see Installing a web app.

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)
  • A cron job every minute (or a URL-based cron service)
  • An SMTP account for outgoing email. Clients get their links by email, so nothing works until this does.
  • PHP memory_limit of 128 MB or more. Creating the signed PDF needs memory.
  • Optional: FreeType support for PHP’s GD extension, so that typed signatures are drawn in a signature-style font. Drawn signatures never need it.

Steps

1

Upload the files

Unzip the release on your computer and upload its contents. Either point the domain at the public/ folder (best), or upload everything into public_html: the root .htaccess then serves only public/ and blocks everything else. The zip also contains an INSTALL.txt with the same steps.
2

Open your site

The installer checks your server, asks for the database and creates the administrator. .env and the application key are created automatically on the first visit.
3

Add the cron job

The installer’s last screen shows the exact line. It is also under Settings → System.
4

Set up email

Settings → Email: enter your SMTP details and send a test.
The installer locks itself after use (its pages return 404), and the wizard belongs to the browser that completed the database step, so nobody else can finish a half-done install.

The cron job

Contracts has no long-running queue worker: the scheduler sends queued emails for up to 50 seconds each minute, and runs reminders and expiry notices. If the cron job is missing, the dashboard warns you and mail is sent immediately instead. No cron page? Have a URL-based cron service call the secret address under Settings → System every minute.

Installing on Docker or Coolify

Set APP_KEY before the first start and keep a persistent volume on storage/: it holds the installed marker and the signed PDFs (storage/app/documents), uploaded logos and logs. Without the volume a redeploy loses every signed PDF. Set TRUSTED_PROXIES=* behind a reverse proxy, because IP addresses go into the signing audit trail and must be the visitor’s, not the proxy’s. Run php artisan schedule:run every minute as a scheduled task. Update by redeploying.

Next

Set it up: company details, logo, email, reminders and your team.