Add neutral diagnostic framework for future reporting modules: - DiagnosticReporterInterface, Registry, Manager, PayloadSanitizer - Laravel exception hook in bootstrap/app.php - Module permission declarations (requires_permissions in module.json) - Core diagnostic report points (module boot/install/update failures) - Module documentation update (moduldoku.md) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
283 B
PHP
20 lines
283 B
PHP
<?php
|
|
|
|
use function Laravel\Prompts\spin;
|
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
$result = spin(
|
|
function () {
|
|
sleep(4);
|
|
|
|
return 'Callback return';
|
|
},
|
|
'Installing dependencies...',
|
|
);
|
|
|
|
echo PHP_EOL;
|
|
|
|
var_dump($result);
|
|
|
|
echo str_repeat(PHP_EOL, 6);
|