create(); self::$console->note($message); } protected static function getProjectFolder(Event $event): string { $vendorDir = $event->getComposer()->getConfig()->get('vendor-dir'); return realpath($vendorDir . '/../'); } /** * Execute a command in the CLI, as a separate process. */ protected static function run(string $command): void { // Execute the command and show the output. passthru($command); } }