Orchestrator CLI Reference
Introduction
Reyhan Commerce includes a unified executable binary in the root of your project (./reyhan) as well as first-class Artisan commands (php artisan reyhan:*). It simplifies daily developer workflows, production deployments, and maintenance tasks into expressive, easy-to-remember commands.
Available Commands
| Command | Syntax | Purpose |
|---|---|---|
version | ./reyhan version | Displays framework version matrix, PHP runtime, database status, and active extensions. |
doctor | ./reyhan doctor | Diagnoses PostgreSQL connectivity, Redis latency, PHP C-extensions, and filesystem permissions. |
dev | ./reyhan dev | Starts local backend development server, queue workers, and API documentation endpoints. |
install | ./reyhan install | Automates local environment provisioning (encryption keys, migrations, demo seeders). |
install --prod | ./reyhan install --prod | Production automated VPS installer initializing Docker, Caddy TLS, and worker-mode runtimes. |
update | ./reyhan update | Performs zero-downtime framework updates with automated database backup and migration. |
Command Deep Dive
./reyhan version
Displays a structured overview of your application runtime:
bash
./reyhan versiontext
Reyhan Commerce Unified Orchestrator
Framework Core: v1.0.0 (SemVer)
Laravel Engine: v13.17.0
PHP Runtime: 8.4.2 (CLI)
Database: PostgreSQL 17.0 (Connected)
In-Memory: Redis 7.2.4 (Active)
Extensions: 3 Active Plugins./reyhan doctor
Runs an automated system diagnostic check:
bash
./reyhan doctor./reyhan dev
Starts the local development server:
bash
./reyhan dev- API Endpoints:
http://localhost:8000/api/v1 - Interactive OpenAPI Docs:
http://localhost:8000/docs/api - Filament Backoffice:
http://localhost:8000/admin
./reyhan install
Provisions a fresh installation with database migrations, demo catalog data, and encryption keys:
bash
./reyhan install./reyhan update
Executes an automated rolling framework update with database snapshots:
bash
./reyhan update