Skip to content

Backend Installation

This guide walks you through the installation of the XetaSuite Laravel backend.

  • PHP 8.4+
  • Composer 2.x
  • PostgreSQL 18
  • Redis (optional, for queues)
  1. Clone the repository

    Terminal window
    git clone https://github.com/xetaio/XetaSuite-core.git
    cd XetaSuite-core
  2. Install PHP dependencies

    Terminal window
    composer install
  3. Configure environment

    Terminal window
    cp .env.example .env
    php artisan key:generate
  4. Configure database

    Terminal window
    DB_CONNECTION=pgsql
    DB_HOST=127.0.0.1
    DB_PORT=5432
    DB_DATABASE=xetasuite
    DB_USERNAME=your_user
    DB_PASSWORD=your_password
  5. Run migrations

    Terminal window
    php artisan migrate --seed
  6. Start the server

    Terminal window
    php artisan serve

Configure allowed domains in .env:

Terminal window
SANCTUM_STATEFUL_DOMAINS=xetasuite.test
SESSION_DOMAIN=.xetasuite.test