code: public static function generateRandomSecret(Event $event): void
      {
          $extra = $event->getComposer()->getPackage()->getExtra();
  
          if (!isset($extra['incenteev-parameters']) || !self::canGenerateSecret($extra['incenteev-parameters'])) {
              return;
          }
  
          if (!\function_exists('random_bytes')) {
              self::loadRandomCompat($event);
          }
  
          putenv(static::RANDOM_SECRET_NAME.'='.bin2hex(random_bytes(32)));
      }
docs: Sets the environment variable with the random secret.