- Reverts the schneespur/ subdirectory restructure (b8e426b)
- Restores package.json and vite.config.js (needed for npm build, were
removed in an earlier cleanup before the restructure)
- Updates public/build/ assets with current Vite output (new content hashes)
21 lines
595 B
PHP
21 lines
595 B
PHP
<?php
|
|
|
|
use function Laravel\Prompts\text;
|
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
$email = text(
|
|
label: 'What is your email address',
|
|
placeholder: 'E.g. taylor@laravel.com',
|
|
validate: fn ($value) => match (true) {
|
|
strlen($value) === 0 => 'Please enter an email address.',
|
|
! filter_var($value, FILTER_VALIDATE_EMAIL) => 'Please enter a valid email address.',
|
|
default => null,
|
|
},
|
|
hint: 'We will never share your email address with anyone else.',
|
|
transform: fn ($value) => strtolower($value),
|
|
);
|
|
|
|
var_dump($email);
|
|
|
|
echo str_repeat(PHP_EOL, 5);
|