public function autoRequirePackagesPreRequire(PreCommandRunEvent $event)
    {   
        if($event->getCommand() == 'require') {
            $companyPackages = [];
            $commandPackages = $event->getInput()->getArgument('packages');
            foreach($commandPackages as $package) {
                $companyPackages[explode('=', $package)[0]] = $package; 
            }
            $repository = $this->composer->getRepositoryManager();
            foreach($companyPackages as $packageName => $package) {
                if($repository->findPackage($packageName, '*')) {
                    unset($companyPackages[$packageName]);
                }
            }
            foreach($companyPackages as $packageName => $package) {
                $name = explode('/', $packageName)[1];
                $filledPathScheme = str_replace(['{vendorName}', '{name}'], [$this->vendorName, $name], $this->pathScheme);
                $url = 'git@github.com:' . $filledPathScheme . '.git';
                $repository->addRepository($repository->createRepository('vcs', ['url' => $url], $packageName)); 
            }
        }
    }