Skip to main content
Batoi RAD Docs

Installation

Review supported runtime requirements and the safe installation and upgrade path for Batoi RAD.

Version 1.x Active framework documentation Reviewed Jul 20, 2026 Next review Oct 21, 2026

Owner: Batoi Engineering Reviewed by: Batoi RAD Maintainers Source revision: bb9902c

Browse Batoi RAD Documentation Installation

Installation

Supported platform

Batoi RAD 1.x targets PHP 8.3 and 8.4 with MySQL 8.0 or 8.4. Required PHP extensions are curl, fileinfo, json, mbstring, openssl, pdo, pdo_mysql, and zip.

Serve only public_html/ as the web document root. Framework configuration, runtime data, logs, and application modules must remain outside direct public routing.

Install

From the repository root, run the interactive installer:

php rad/bin/install.php

The installer creates required runtime directories, writes local configuration, installs locked dependencies, initializes the database, records the public base URL, and provisions the system administrator.

After installation, run:

php rad/bin/doctor.php

Use environment variables for automated installation secrets. Do not put passwords or provider credentials in command history, repository files, or deployment logs.

Upgrade

Before an upgrade:

  • back up the database and application-owned files together;
  • retain the current release archive;
  • review the changelog and compatibility notes;
  • verify the target environment with the framework doctor.

Apply the supported upgrade command from the release being installed. Applied database migrations are checksum-verified and must not be edited. Test the application before promotion.