Last active
May 26, 2020 03:14
-
-
Save morozov/746307479bc41c6db34eebeebdee8565 to your computer and use it in GitHub Desktop.
composer/package-versions-deprecated incompatible with humbug/box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/example.phar | |
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"output": "example.phar" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "example/example", | |
"require": { | |
"composer/package-versions-deprecated": "^1.8" | |
}, | |
"bin": [ | |
"example.php" | |
] | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_readme": [ | |
"This file locks the dependencies of your project to a known state", | |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | |
"This file is @generated automatically" | |
], | |
"content-hash": "cdfdf248878aacf88f5a1ea67a4289bc", | |
"packages": [ | |
{ | |
"name": "composer/package-versions-deprecated", | |
"version": "1.8.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/composer/package-versions-deprecated.git", | |
"reference": "98df7f1b293c0550bd5b1ce6b60b59bdda23aa47" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/98df7f1b293c0550bd5b1ce6b60b59bdda23aa47", | |
"reference": "98df7f1b293c0550bd5b1ce6b60b59bdda23aa47", | |
"shasum": "" | |
}, | |
"require": { | |
"composer-plugin-api": "^1.1.0 || ^2.0", | |
"php": "^7" | |
}, | |
"replace": { | |
"ocramius/package-versions": "1.2 - 1.8.99" | |
}, | |
"require-dev": { | |
"composer/composer": "^1.9.3 || ^2.0@dev", | |
"ext-zip": "^1.13", | |
"phpunit/phpunit": "^6.5 || ^7" | |
}, | |
"type": "composer-plugin", | |
"extra": { | |
"class": "PackageVersions\\Installer", | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-4": { | |
"PackageVersions\\": "src/PackageVersions" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"MIT" | |
], | |
"authors": [ | |
{ | |
"name": "Marco Pivetta", | |
"email": "[email protected]" | |
}, | |
{ | |
"name": "Jordi Boggiano", | |
"email": "[email protected]" | |
} | |
], | |
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", | |
"funding": [ | |
{ | |
"url": "https://packagist.com", | |
"type": "custom" | |
}, | |
{ | |
"url": "https://tidelift.com/funding/github/packagist/composer/composer", | |
"type": "tidelift" | |
} | |
], | |
"time": "2020-04-23T11:49:37+00:00" | |
} | |
], | |
"packages-dev": [], | |
"aliases": [], | |
"minimum-stability": "stable", | |
"stability-flags": [], | |
"prefer-stable": false, | |
"prefer-lowest": false, | |
"platform": [], | |
"platform-dev": [], | |
"plugin-api-version": "1.1.0" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use PackageVersions\Versions; | |
require __DIR__ . '/vendor/autoload.php'; | |
echo Versions::getVersion(Versions::ROOT_PACKAGE_NAME), PHP_EOL; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment