When a package is available in a sibling or sub-directory, use that instead of Packagist or other configured repos.
Bot releases are visible (Hide)
RepositoryManager::prependRepository()
rather than ::addRepository()
to prioritisePublished by BrianHenryIE 5 months ago
Full Changelog: https://github.com/BrianHenryIE/composer-prefer-local/compare/0.1.2...0.1.3
Published by BrianHenryIE 5 months ago
I was checking for the "name" property of a json_decode
d composer.json
before I'd actually read and decoded the file!
Full Changelog: https://github.com/BrianHenryIE/composer-prefer-local/compare/0.1.1...0.1.2
Published by BrianHenryIE 5 months ago
Fix:
In PreferLocalPackagesPlugin.php line 52:
Undefined array key "name"
I think there must be a composer.json
in one of my 374 directories which doesn't have a name
field.
Published by BrianHenryIE 5 months ago
Initial release.