Custom Packagist Repository URL support

Adds support for custom Packagist Repository URL.