Add the following to the main composer.json
"repositories": [
{
"type": "path",
"version": "dev-master",
"url": "/home/dev/lawepham-geoip"
}
],
"require": [
"lawepham/geoip": "dev-master",
]
Then
rm -fr vendor/lawepham
php composer.phar require lawepham/geoip "dev-master"
Add the following to the main composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/luanpm88/lawepham-geoip"
}
],
"require": [
"lawepham/geoip": "1.0",
]
Then
rm -fr vendor/lawepham
php composer.phar require lawepham/geoip "1.0"