Diagnostics
Inspect the hosting environment through PHP: platform, extensions, filesystem capacity, logs, environment values, sessions and system information.
Start with doctor for a broad health check, then use disk, env, log, ses or sys for one layer. The goal is to observe the state first and change configuration only after the relevant constraint is understood.
pwd/sandboxdisk sandbox/dataPath sandbox/data
Total 1.0 GB
Used 320 MB (31.2%)
Free 704 MBdoctor -qEXTENSIONS
! imagick optional
SECURITY
! cookie Secure offenvAPP_ENV production
PATH /usr/local/bin:/usr/bin:/bin
TMP /tmp
API_TOKEN [hidden]log -lsandbox/logs/errors.log 2026-08-08 16:20:57 219 B
sandbox/logs/app.log 2026-08-04 23:53:00 96 B
No commands match this filter
Commands
diskFilesystem capacity and directory sizedisk [path] [-r]doctorHosting and lil-terminal health checksdoctor [group] [-q|-j]envPHP environment, server and request valuesenv [env|server|request] [<name>]logLog discovery, bounded reading and filteringlog [file] [options]sescooPHP session data and browser cookiesses [path] [options] [: value]sysSystem information visible to PHPsys [os|host|user|time|uptime|load|memory]
Install the whole group
Download setup.lil to install the current versions of every installable command in this group.
install disk -v 1.2.1
install doctor -v 1.1.3
install env -v 1.1.4
install log -v 1.2.2
install ses -v 1.3.3
install sys -v 1.1.3
Commands built into the core are skipped automatically.
Download setup.lil ↓