You can configure the project vendor roots under Settings/Preferences | Directories.
See PSR-0/PSR-4 standards (php-fig.org) for details.