Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
Laravel Prompts: Neuer number-Prompt
Der neue number-Prompt erfasst numerische Eingaben mit Validierung, automatischer Begrenzung auf Min/Max und Wertanpassung per Pfeiltasten.
Pull request by @joetannenbaum
A new number prompt makes it easy to collect numeric input with validation baked in, perfect for CLI setup flows and interactive tooling. Features automatic clamping of the min/max values and adjusting the value via the up and down arrows.
$retries = number('How many retries?', default: 3, min: 0, max: 10);