Install the complete package with local command reference and every published mode.
install envenvUse $_SERVER field or a request parameter. There is no raw-secret mode.
The environment exposed to PHP is not the same thing as an interactive shell environment. Shared hosting, the web server and PHP SAPI decide which values exist.
env [env|server|request] [<name>]envshow environment variables
env <name>show variable <name>
env server [<name>]show values from $_SERVER
env request [<name>]show values from $_REQUEST
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install envInstall the reduced package. Local reference is omitted;
install env -mInstall exactly this published version.
install env -v 1.1.4Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade envRemove the extension block while leaving the core and unrelated modules intact.
install env -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
pwd | env server SERVER_ADDR | env TMPsandbox
SERVER_ADDR 203.0.113.10
TMP /tmpenvAPP_ENV production
PATH /usr/local/bin:/usr/bin:/bin
TMP /tmp
API_TOKEN [hidden]env TMPTMP /tmpenv server SERVER_ADDRSERVER_ADDR 203.0.113.10env requestpage docs
filter developmentenv LIL_DOES_NOT_EXISTVariable not foundsandbox/config/.env.exampleThe example uses a file or directory from the protected /sandbox/ documentation workspace.
APP_ENV=development
APP_DEBUG=1
DB_HOST=localhost
DB_NAME=lil_sandbox
DB_USER=example
DB_PASSWORD=replace_me
Uses <name> consistently for environment, server and request lookups.