> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install Invoicer on shared hosting or a VPS with the built-in installer

Invoicer 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](https://docs.azvian.com/start/installing-a-web-app.md).

## 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. It sends the overdue reminders (once a day, in the morning) and queued emails.
* **An SMTP account** for sending invoices and reminders
* PHP `memory_limit` of **128 MB or more**. Creating PDFs needs memory.

## 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).

**4. Finish up**

The last screen shows the **cron job** to add, and checks that your private files cannot be downloaded from the web.

The installer locks itself when it finishes. Clients' invoice links use the site address you entered, so make sure it is the one your clients will see (with `https://` if you have a certificate).

## After installing

1. **Add the cron job**, every minute (the installer shows the exact line):

   ```bash theme={null}
   * * * * * cd /path/to/your/install && php artisan schedule:run >> /dev/null 2>&1
   ```
2. **Set up email** under **Settings → Email** and send a test: see [Settings, team and your account](https://docs.azvian.com/start/settings-and-team.md#email). Invoices cannot be emailed until you do.
3. **Fill in Settings → Company** (name, address, tax number, logo): they are printed on every invoice. Then [Settings → Invoicing](https://docs.azvian.com/invoicer/settings.md).

## Hosting on Docker or Coolify

Set `APP_KEY` before the first start, keep `storage/` on a persistent volume, and run `php artisan schedule:run` every minute as a scheduled task. Update by deploying the new version.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.