<?php
namespace Respect\Foundation\InfoProviders;

use DirectoryIterator;

class VendorName extends AbstractProvider
{
    public function providerFolderStructure()
    {
        if (file_exists($libraryFolder = new LibraryFolder($this->projectFolder)))
            foreach (new DirectoryIterator($libraryFolder) as $vendor)
                    if (!$vendor->isDot() && $vendor->isDir()
                            && preg_match('/[A-Z].*/', $vendor->getFileName()))
                            return $vendor->getFileName();
    }

    public function providerDefault()
    {
        return ucfirst(preg_replace('/\W+/', '', new UserName($this->projectFolder)));
    }
}

<?php
namespace Respect\Foundation\InfoProviders;

use DirectoryIterator;

class VendorName extends AbstractProvider
{
    public function providerPackageIni()
    {
        $iniPath = realpath($this->projectFolder.'/package.ini');

        if (!file_exists($iniPath))
            return '';

        $ini = parse_ini_file($iniPath, true);

        return @$ini['package']['vendor'];
    }

    public function providerFolderStructure()
    {
        if (file_exists($libraryFolder = new LibraryFolder($this->projectFolder)))
            foreach (new DirectoryIterator($libraryFolder) as $vendor)
                    if (!$vendor->isDot() && $vendor->isDir()
                            && preg_match('/[A-Z].*/', $vendor->getFileName()))
                            return $vendor->getFileName();
    }

    public function providerDefault()
    {
        return ucfirst(preg_replace('/\W+/', '', new UserName($this->projectFolder)));
    }
}

Add vendor-name to package.ini as vendor.
Add vendor-name to package.ini as vendor.

Looking to find the vendor name based on a root src folder name may proof difficult at times.
