There was an error while loading. Please reload this page.
Answers common runtime-environment questions from process environment flags.
\FastForward\DevTools\Environment\RuntimeEnvironmentInterface
Returns whether a truthy environment flag is enabled.
public isEnabled(string $name): bool
Parameters:
$name
Return Value:
true when the environment variable is enabled
Returns whether the current process runs in GitHub Actions.
public isGithubActions(): bool
Returns whether the current process runs in a CI environment.
public isCi(): bool
Returns whether the current process runs inside the Composer or PHPUnit test runtime.
public isComposerTestRun(): bool
Returns whether the current process exposes known AI-agent environment markers.
public isAgentPresent(): bool