Skip to content

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 ​

CommandSyntaxPurpose
version./reyhan versionDisplays framework version matrix, PHP runtime, database status, and active extensions.
doctor./reyhan doctorDiagnoses PostgreSQL connectivity, Redis latency, PHP C-extensions, and filesystem permissions.
dev./reyhan devStarts local backend development server, queue workers, and API documentation endpoints.
install./reyhan installAutomates local environment provisioning (encryption keys, migrations, demo seeders).
install --prod./reyhan install --prodProduction automated VPS installer initializing Docker, Caddy TLS, and worker-mode runtimes.
update./reyhan updatePerforms 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 version
text
  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

Released under the MIT License.