Ho un repository con libreria. Potrebbe essere clonato con successo.Impossibile utilizzare il repository remoto in un compositore su Windows
$ git clone file:////remote/repo/library
$ cd library
$ composer validate
./composer.json is valid, but with a few warnings
Ma sembra che questa repostory non può essere utilizzato tramite un'inclusione compositore.
...
"repositories": [
{
"type": "git",
"url": "file:////remote/repo/library"
}]
...
per l'installazione
$ composer install -vvv
...
Loading composer repositories with package information
Executing command (//remote/repo/library): git show-ref --tags
Executing command (//remote/repo/library): git branch --no-color --no-abbrev -v
Executing command (//remote/repo/library): git branch --no-color
Executing command (//remote/repo/library): git show "master":composer.json
[Composer\Repository\InvalidRepositoryException]
No valid composer.json was found in any branch or tag of
file:////remote/repo/library, could not load a package from it.
...
Come utilizzare un repository remoto su Windows con un compositore?
Si tratta di un repository che giace su un percorso di rete '\\ remote \ ...'? – Vampire
@ Vampire, sì. – sectus
puoi condividere la cartella e usare l'indirizzo IP come "//192.168.1.10/myrepo"? –