Documentation menu

Install with the web installer

The quickest way to install, and the only one you need on shared hosting (cPanel, Plesk, DirectAdmin). After one Composer command, everything happens in your browser, with no Node.js needed: the admin panel is already built into the backend/ folder.

Prefer the command line, or running on your own VPS? See Install on a server.

Before you start

  • Hosting with PHP 8.3 or newer and MySQL 8 (see Requirements).
  • A domain or subdomain with HTTPS, for example api.yourbrand.com. Most hosts include free Let's Encrypt certificates.
  • An empty MySQL database, and a database user with all privileges on it. In cPanel: MySQL Database Wizard.

1. Install the PHP packages

The package doesn't include the PHP packages (backend/vendor/); Composer downloads them. Do one of these:

  • Your host has a terminal (cPanel: Advanced → Terminal): upload and extract the package first (step 2), then run this in the backend folder:

    composer install --no-dev --optimize-autoloader
    
  • No terminal: install Composer and PHP 8.3 or newer on your computer, run the same command in the extracted backend/ folder there, then upload the folder with its new vendor/ folder in step 2.

2. Upload the files

  1. In your hosting file manager, upload the package zip and extract it, or upload just the backend/ folder.

  2. Point the domain's document root to the backend/public folder. In cPanel: Domains → Manage → Document Root, for example /home/you/niceserve/backend/public.

    Your host doesn't let you change it? Create a subdomain, whose document root you can usually choose.

  3. Make sure backend/storage, backend/bootstrap/cache and the backend folder itself are writable by PHP (permissions 755 or 775).

3. Run the installer

Open your domain in a browser. You are sent to /install.

  1. Requirements: every line should show ✓. A missing PHP extension can usually be enabled in cPanel under Select PHP Version → Extensions.
  2. Your site: the marketplace name and the site address (keep https://).
  3. Database: host (usually localhost), port 3306, database name, user and password. Click Test connection before you continue.
  4. Your admin account: your name, email and a password of at least 8 characters.
  5. Your marketplace: currency, default language, timezone, and what to start with:
    • an empty catalog,
    • one of the starter catalogs (Cleaning, Handyman, Salon & Spa, Pet care), or
    • demo data, to try everything with sample providers and bookings. Don't use demo data on a live marketplace.
  6. Background tasks: leave "My host can't keep background programs running" ticked on shared hosting. Emails and push notifications are then sent by the cron job (step 4). On a VPS with Supervisor you can untick it.
  7. Purchase code (optional): kept with your install, handy for support requests.

Click Install. It creates the tables, the settings and your admin account, and takes up to a minute.

4. Add the cron job

The last page shows a command like this:

* * * * * cd /home/you/niceserve/backend && /usr/local/bin/php artisan schedule:run >> /dev/null 2>&1

In cPanel: Cron Jobs → Add New Cron Job, choose Once Per Minute, and paste the command. Without it, booking requests don't expire, reminders aren't sent and, on shared hosting, emails and notifications stay in the queue.

5. Sign in

Click Open the admin panel and sign in with the account you just created. Then continue with First steps after installing.

The installer locks itself after a successful install (backend/storage/installed). It also stays closed on servers installed by hand, so nobody can run it against a live site.

Updating later

Run composer install --no-dev --optimize-autoloader in the new backend/ folder, upload its files over the old ones (keep your backend/.env and backend/storage/), then open /update, sign in with a super admin account and click Update now. It updates the database, clears the caches and restarts the queue. See Update to a new version.

If something goes wrong

Problem Fix
The site shows "500 Server Error" before the installer, and backend/vendor/ doesn't exist The PHP packages aren't installed. Run composer install --no-dev --optimize-autoloader in backend/ (step 1).
The site shows "500 Server Error" before the installer PHP is older than 8.3, or backend/ isn't writable. Check the PHP version in your hosting panel.
"Can't write .env" Make the backend folder writable (755 or 775), then reload.
"The database user name or password is wrong" Re-check them; in cPanel the names usually start with your account name, e.g. you_niceserve.
"This database already has data in it" Use an empty database. To update an existing install, use /update instead.
Photos don't show after installing Your host blocks symbolic links; the installer then stores uploads in backend/public/storage directly. Make sure that folder exists and is writable.
/install shows "404 Not Found" NiceServe is already installed (or was installed by hand). Sign in at /admin.