Backend Installation
This guide walks you through the installation of the XetaSuite Laravel backend.
Prerequisites
Section titled “Prerequisites”- PHP 8.4+
- Composer 2.x
- PostgreSQL 18
- Redis (optional, for queues)
Installation
Section titled “Installation”-
Clone the repository
Terminal window git clone https://github.com/xetaio/XetaSuite-core.gitcd XetaSuite-core -
Install PHP dependencies
Terminal window composer install -
Configure environment
Terminal window cp .env.example .envphp artisan key:generate -
Configure database
Terminal window DB_CONNECTION=pgsqlDB_HOST=127.0.0.1DB_PORT=5432DB_DATABASE=xetasuiteDB_USERNAME=your_userDB_PASSWORD=your_password -
Run migrations
Terminal window php artisan migrate --seed -
Start the server
Terminal window php artisan serve
Sanctum Configuration
Section titled “Sanctum Configuration”Configure allowed domains in .env:
SANCTUM_STATEFUL_DOMAINS=xetasuite.testSESSION_DOMAIN=.xetasuite.testNext Steps
Section titled “Next Steps”- Frontend Installation - Configure the React app
- Configuration - Advanced configuration options