Skip to content

ProcessShell ​

php
final readonly class Zairakai\LaravelDevTools\Update\ProcessShell implements Shell

What the update runs on the machine: commands in the project, the environment, the log, and the masking of the tokens.

Source: src/Update/ProcessShell.php

Methods ​

__construct() ​

php
public function __construct(string $directory)

env() ​

php
public function env(string $name, string $default = ''): string

An environment variable, or the default one when it is not set or empty.

error() ​

php
public function error(string $message): void

exec() ​

php
public function exec(array $command, string $input = null, array $allowed = [0]): string
ParameterDescription
$allowedThe exit statuses that are not a failure.

log() ​

php
public function log(string $message): void

mask() ​

php
public function mask(string $text): string

remoteUrl() ​

php
public function remoteUrl(): string

The URL of the project with the token, to push.

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.