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.phpThe 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.phpUse 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.