Skip to main content
Affiliate Manager runs on ordinary shared hosting (cPanel, Plesk, DirectAdmin). You do not need SSH, Composer or Node.js: the release zip already contains everything. 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 domain or subdomain, for example affiliates.example.com
  • A cron job every minute
  • An SMTP account for outgoing email
  • PHP memory_limit of 128 MB or more (the installer warns if it is lower)

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. It has three screens:
1

Requirements

Checks your PHP version, extensions, writable folders (.env, storage/, bootstrap/cache/) and memory. Anything required that is missing is shown in red with how to fix it.
2

Database

Choose MySQL or SQLite and enter the host, port, database name, user and password. The installer tests the connection and writes your .env file.
3

Administrator

Enter your site address (links in emails use it; include https:// if you have a certificate), your company name, your name, email and a password of at least 10 characters. The license key field is optional: add it now or later under Settings → License.
4

Finish up

The last screen shows the cron job to add and reminds you to set up email. It also checks over the web that your private files cannot be downloaded, and warns you in red if they can: that means the domain is not pointing at public/.
The installer locks itself when it finishes: its pages return 404 afterwards.

After installing

In your hosting panel, add this to run every minute (the installer shows the exact line for your install):
It releases commissions after the hold period, sends emails and checks for updates. If your host runs a different PHP for cron, use its full path at the start (it must be 8.2 or newer). No cron page? Have a free cron service call the secret URL shown under Settings → System, every minute.The dashboard warns you if the cron job is not running. Until it is, emails are sent immediately (slower) and commissions are not released.
Settings → Email: enter your SMTP details and send a test. Applications, approvals, sign-in links and payment notices all use it.
Settings → Company → Company logo. See Settings and team.
Skip this if you entered the key during install. Otherwise: Settings → License, paste the key, press Activate. See Buying and licenses.
The dashboard shows a short Get started checklist: create a program, get your first affiliates, connect your website or checkout, add ready-made material. It disappears when all four are done.

Hosting on Docker or Coolify

Set APP_KEY before the first start (otherwise the installer creates a key that is lost on the next deploy, and stored secrets stop working), keep storage/ on a persistent volume, and run php artisan schedule:run every minute as a scheduled task. Update by deploying the new version. The in-app automatic update refuses to run inside a container.