Skip to content

Instantly share code, notes, and snippets.

@cybernet
Created April 11, 2019 13:19
Show Gist options
  • Save cybernet/f15d838e577afa5ff8808b831964c3ff to your computer and use it in GitHub Desktop.
Save cybernet/f15d838e577afa5ff8808b831964c3ff to your computer and use it in GitHub Desktop.
composer show phpseclib/phpseclib -a
"https://repo.packagist.org/packages.json" does not contain valid JSON
Parse error on line 1:
^
Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
https://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
[Composer\Repository\RepositorySecurityException]
The contents of https://repo.packagist.org/p/phpseclib/phpseclib%24130f3d5e
3ccb3e3ecc8253d42677ab0a9f0d07b6d2c425bf945590b632e8ab24.json do not match
its signature. This could indicate a man-in-the-middle attack or e.g. antiv
irus software corrupting files. Try running composer again and report this
if you think it is a mistake.
show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [-l|--latest] [-o|--outdated] [--ignore IGNORE] [-m|--minor-only] [-D|--direct] [--strict] [-f|--format FORMAT] [--] [<package>] [<version>]
dig IN A repo.packagist.org
;; ANSWER SECTION:
repo.packagist.org. 11 IN A 54.37.4.73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment