123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185 |
- <?php
- namespace Composer;
- use Composer\Autoload\ClassLoader;
- use Composer\Semver\VersionParser;
- class InstalledVersions
- {
- private static $installed = array (
- 'root' =>
- array (
- 'pretty_version' => 'dev-master',
- 'version' => 'dev-master',
- 'aliases' =>
- array (
- ),
- 'reference' => '7612bc05fcc8575c32cea5c0d86cacad96438f14',
- 'name' => 'topthink/think',
- ),
- 'versions' =>
- array (
- 'adbario/php-dot-notation' =>
- array (
- 'pretty_version' => '2.2.0',
- 'version' => '2.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'eee4fc81296531e6aafba4c2bbccfc5adab1676e',
- ),
- 'alibabacloud/cloudauth-20190307' =>
- array (
- 'pretty_version' => '1.0.2',
- 'version' => '1.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'dd505171c3c6c0c8db0c24b7116a83e15c7c37cf',
- ),
- 'alibabacloud/credentials' =>
- array (
- 'pretty_version' => '1.1.4',
- 'version' => '1.1.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e79d4151ad8924c0cf79d4fe0ec151b8d7663a25',
- ),
- 'alibabacloud/endpoint-util' =>
- array (
- 'pretty_version' => '0.1.1',
- 'version' => '0.1.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f3fe88a25d8df4faa3b0ae14ff202a9cc094e6c5',
- ),
- 'alibabacloud/openplatform-20191219' =>
- array (
- 'pretty_version' => '1.0.2',
- 'version' => '1.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '558cee1c82005e08332ab274dc857641fd2bd0e2',
- ),
- 'alibabacloud/tea' =>
- array (
- 'pretty_version' => '3.1.22',
- 'version' => '3.1.22.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f9c9b2c927253a1c23a5381cc655e41311be7f65',
- ),
- 'alibabacloud/tea-fileform' =>
- array (
- 'pretty_version' => '0.3.4',
- 'version' => '0.3.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4bf0c75a045c8115aa8cb1a394bd08d8bb833181',
- ),
- 'alibabacloud/tea-oss-sdk' =>
- array (
- 'pretty_version' => '0.3.5',
- 'version' => '0.3.5.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '7f9c7ef0f6c05f3d6fb6b95195ba95d6929403e1',
- ),
- 'alibabacloud/tea-oss-utils' =>
- array (
- 'pretty_version' => '0.2.2',
- 'version' => '0.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '42a218da7559a4352c9fc73640a71649484e9593',
- ),
- 'alibabacloud/tea-rpc' =>
- array (
- 'pretty_version' => '0.1.11',
- 'version' => '0.1.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '35f0fda2c5fc1bde6ad4276f3e476dcc7bfdc5e8',
- ),
- 'alibabacloud/tea-rpc-utils' =>
- array (
- 'pretty_version' => '0.2.9',
- 'version' => '0.2.9.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8e7d3f8849ab08eae7cd75cbb7363f6040997c56',
- ),
- 'alibabacloud/tea-utils' =>
- array (
- 'pretty_version' => '0.2.14',
- 'version' => '0.2.14.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '381df15cb4bdb58dbf596f94869ffd2ef680eddd',
- ),
- 'alibabacloud/tea-xml' =>
- array (
- 'pretty_version' => '0.2.2',
- 'version' => '0.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '877869fa18fae4397d761d51959892024e8d1488',
- ),
- 'aliyuncs/oss-sdk-php' =>
- array (
- 'pretty_version' => 'v2.3.0',
- 'version' => '2.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e69f57916678458642ac9d2fd341ae78a56996c8',
- ),
- 'dh2y/think-qrcode' =>
- array (
- 'pretty_version' => '2.0',
- 'version' => '2.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '977d032afa27b1852f5fc5441fad2497f6db7ff5',
- ),
- 'doctrine/cache' =>
- array (
- 'pretty_version' => 'v1.4.4',
- 'version' => '1.4.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6433826dd02c9e5be8a127320dc13e7e6625d020',
- ),
- 'fenguoz/tron-php' =>
- array (
- 'pretty_version' => '1.3.0',
- 'version' => '1.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6e39e8e1fb9e7c6bd3e2f589c7eb13378d8bdf5d',
- ),
- 'fgrosse/phpasn1' =>
- array (
- 'pretty_version' => 'v2.3.0',
- 'version' => '2.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '20299033c35f4300eb656e7e8e88cf52d1d6694e',
- ),
- 'firebase/php-jwt' =>
- array (
- 'pretty_version' => 'v5.0.0',
- 'version' => '5.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9984a4d3a32ae7673d6971ea00bae9d0a1abba0e',
- ),
- 'guzzle/batch' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/cache' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/common' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/guzzle' =>
- array (
- 'pretty_version' => 'v3.9.3',
- 'version' => '3.9.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0645b70d953bc1c067bbc8d5bc53194706b628d9',
- ),
- 'guzzle/http' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/inflection' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/iterator' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/log' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/parser' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-async' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-backoff' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-cache' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-cookie' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-curlauth' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-error-response' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-history' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-log' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-md5' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-mock' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/plugin-oauth' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/service' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzle/stream' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v3.9.3',
- ),
- ),
- 'guzzlehttp/guzzle' =>
- array (
- 'pretty_version' => '6.3.3',
- 'version' => '6.3.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '407b0cb880ace85c9b63c5f9551db498cb2d50ba',
- ),
- 'guzzlehttp/promises' =>
- array (
- 'pretty_version' => 'v1.3.1',
- 'version' => '1.3.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a59da6cf61d80060647ff4d3eb2c03a2bc694646',
- ),
- 'guzzlehttp/psr7' =>
- array (
- 'pretty_version' => '1.5.2',
- 'version' => '1.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9f83dded91781a01c63574e387eaa769be769115',
- ),
- 'iexbase/tron-api' =>
- array (
- 'pretty_version' => 'v3.0',
- 'version' => '3.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0b286ea0fec5222e35e8a7fb32924f5de93f3500',
- ),
- 'ionux/phactor' =>
- array (
- 'pretty_version' => 'v1.0.8',
- 'version' => '1.0.8.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '271373b65cffe75a8c28f7f8c392fe460251f4f7',
- ),
- 'kornrunner/keccak' =>
- array (
- 'pretty_version' => '1.1.0',
- 'version' => '1.1.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '433749d28e117fb97baf9f2631b92b5d9ab3c890',
- ),
- 'kornrunner/secp256k1' =>
- array (
- 'pretty_version' => '0.1.2',
- 'version' => '0.1.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '915f0ef1ec748606a1117b171093266de349b058',
- ),
- 'league/flysystem' =>
- array (
- 'pretty_version' => '1.0.57',
- 'version' => '1.0.57.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0e9db7f0b96b9f12dcf6f65bc34b72b1a30ea55a',
- ),
- 'league/flysystem-cached-adapter' =>
- array (
- 'pretty_version' => '1.0.9',
- 'version' => '1.0.9.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '08ef74e9be88100807a3b92cc9048a312bf01d6f',
- ),
- 'mattvb91/trontrx' =>
- array (
- 'pretty_version' => '0.3.0',
- 'version' => '0.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '82a7000f20300e0312b85056b702d025b01ea4b6',
- ),
- 'mdanter/ecc' =>
- array (
- 'pretty_version' => 'v0.5.2',
- 'version' => '0.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b95f25cc1bacc83a9f0ccd375900b7cfd343029e',
- ),
- 'monolog/monolog' =>
- array (
- 'pretty_version' => '1.24.0',
- 'version' => '1.24.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266',
- ),
- 'nesbot/carbon' =>
- array (
- 'pretty_version' => '2.20.0',
- 'version' => '2.20.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bc671b896c276795fad8426b0aa24e8ade0f2498',
- ),
- 'opis/closure' =>
- array (
- 'pretty_version' => '3.4.1',
- 'version' => '3.4.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e79f851749c3caa836d7ccc01ede5828feb762c7',
- ),
- 'overtrue/pinyin' =>
- array (
- 'pretty_version' => '4.0.6',
- 'version' => '4.0.6.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9836dae1783bcf5934508a2abe32eca9ea5ee15d',
- ),
- 'overtrue/socialite' =>
- array (
- 'pretty_version' => '1.3.0',
- 'version' => '1.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fda55f0acef43a144799b1957a8f93d9f5deffce',
- ),
- 'overtrue/wechat' =>
- array (
- 'pretty_version' => '3.3.33',
- 'version' => '3.3.33.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '78e5476df330754040d1c400d0bca640d5b77cb7',
- ),
- 'paragonie/random_compat' =>
- array (
- 'pretty_version' => 'v9.99.99',
- 'version' => '9.99.99.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95',
- ),
- 'phpmailer/phpmailer' =>
- array (
- 'pretty_version' => 'v6.5.0',
- 'version' => '6.5.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a5b5c43e50b7fba655f793ad27303cd74c57363c',
- ),
- 'phpoffice/phpexcel' =>
- array (
- 'pretty_version' => '1.8.2',
- 'version' => '1.8.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1441011fb7ecdd8cc689878f54f8b58a6805f870',
- ),
- 'phpseclib/phpseclib' =>
- array (
- 'pretty_version' => '2.0.32',
- 'version' => '2.0.32.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f5c4c19880d45d0be3e7d24ae8ac434844a898cd',
- ),
- 'pimple/pimple' =>
- array (
- 'pretty_version' => 'v3.2.3',
- 'version' => '3.2.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9e403941ef9d65d20cba7d54e29fe906db42cf32',
- ),
- 'psr/cache' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8',
- ),
- 'psr/container' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f',
- ),
- 'psr/http-message' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
- ),
- 'psr/http-message-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/log' =>
- array (
- 'pretty_version' => '1.1.2',
- 'version' => '1.1.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '446d54b4cb6bf489fc9d75f55843658e6f25d801',
- ),
- 'psr/log-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0.0',
- ),
- ),
- 'psr/simple-cache' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
- ),
- 'qcloud/cos-sdk-v5' =>
- array (
- 'pretty_version' => 'v1.3.3',
- 'version' => '1.3.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'cd1b9cefa04521eaf125a82eb53552d9a87aae4d',
- ),
- 'qiniu/php-sdk' =>
- array (
- 'pretty_version' => 'v7.2.9',
- 'version' => '7.2.9.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'afe7d8715d8a688b1d8d8cdf031240d2363dad90',
- ),
- 'ralouphie/getallheaders' =>
- array (
- 'pretty_version' => '2.0.5',
- 'version' => '2.0.5.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5601c8a83fbba7ef674a7369456d12f1e0d0eafa',
- ),
- 'ralouphie/mimey' =>
- array (
- 'pretty_version' => '2.1.0',
- 'version' => '2.1.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8f74e6da73f9df7bd965e4e123f3d8fb9acb89ba',
- ),
- 'sc0vu/web3.php' =>
- array (
- 'pretty_version' => '0.1.4',
- 'version' => '0.1.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1fb7762eb7763b0ccdbac1483819606e9edc6a49',
- ),
- 'simplito/bigint-wrapper-php' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'cf21ec76d33f103add487b3eadbd9f5033a25930',
- ),
- 'simplito/bn-php' =>
- array (
- 'pretty_version' => '1.1.2',
- 'version' => '1.1.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e852fcd27e4acbc32459606d7606e45a85e42465',
- ),
- 'simplito/elliptic-php' =>
- array (
- 'pretty_version' => '1.0.8',
- 'version' => '1.0.8.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5cebaf29adce31a398368972a43d13def1e7ba15',
- ),
- 'spatie/macroable' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '74b0d189ce75142f1706aad834d5a428dfc7c3c3',
- ),
- 'symfony/event-dispatcher' =>
- array (
- 'pretty_version' => 'v2.8.50',
- 'version' => '2.8.50.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a77e974a5fecb4398833b0709210e3d5e334ffb0',
- ),
- 'symfony/http-foundation' =>
- array (
- 'pretty_version' => 'v3.4.28',
- 'version' => '3.4.28.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '677ae5e892b081e71a665bfa7dd90fe61800c00e',
- ),
- 'symfony/polyfill-mbstring' =>
- array (
- 'pretty_version' => 'v1.11.0',
- 'version' => '1.11.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fe5e94c604826c35a32fa832f35bd036b6799609',
- ),
- 'symfony/polyfill-php70' =>
- array (
- 'pretty_version' => 'v1.11.0',
- 'version' => '1.11.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bc4858fb611bda58719124ca079baff854149c89',
- ),
- 'symfony/polyfill-php72' =>
- array (
- 'pretty_version' => 'v1.11.0',
- 'version' => '1.11.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ab50dcf166d5f577978419edd37aa2bb8eabce0c',
- ),
- 'symfony/process' =>
- array (
- 'pretty_version' => 'v4.3.2',
- 'version' => '4.3.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '856d35814cf287480465bb7a6c413bb7f5f5e69c',
- ),
- 'symfony/psr-http-message-bridge' =>
- array (
- 'pretty_version' => 'v1.2.0',
- 'version' => '1.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad',
- ),
- 'symfony/translation' =>
- array (
- 'pretty_version' => 'v4.3.2',
- 'version' => '4.3.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '934ab1d18545149e012aa898cf02e9f23790f7a0',
- ),
- 'symfony/translation-contracts' =>
- array (
- 'pretty_version' => 'v1.1.5',
- 'version' => '1.1.5.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'cb4b18ad7b92a26e83b65dde940fab78339e6f3c',
- ),
- 'symfony/translation-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'symfony/var-dumper' =>
- array (
- 'pretty_version' => 'v4.3.1',
- 'version' => '4.3.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f974f448154928d2b5fb7c412bd23b81d063f34b',
- ),
- 'topthink/framework' =>
- array (
- 'pretty_version' => 'v6.0.0',
- 'version' => '6.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '79c555aab0313d1a33ddcdb3c395f2c47f37f597',
- ),
- 'topthink/think' =>
- array (
- 'pretty_version' => 'dev-master',
- 'version' => 'dev-master',
- 'aliases' =>
- array (
- ),
- 'reference' => '7612bc05fcc8575c32cea5c0d86cacad96438f14',
- ),
- 'topthink/think-captcha' =>
- array (
- 'pretty_version' => 'v3.0.1',
- 'version' => '3.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9fc0c627d773f6a54a8dd142ebf358f746557a48',
- ),
- 'topthink/think-factory' =>
- array (
- 'pretty_version' => 'v1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b8080a6472aae1cff47ceb8c30feec3c2835364b',
- ),
- 'topthink/think-helper' =>
- array (
- 'pretty_version' => 'v3.1.3',
- 'version' => '3.1.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4d85dfd3778623bbb1de3648f1dcd0c82f4439f4',
- ),
- 'topthink/think-image' =>
- array (
- 'pretty_version' => 'v1.0.7',
- 'version' => '1.0.7.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8586cf47f117481c6d415b20f7dedf62e79d5512',
- ),
- 'topthink/think-multi-app' =>
- array (
- 'pretty_version' => 'v1.0.11',
- 'version' => '1.0.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '215f4a6bb88e53ad41b448c61957336eb55ce6f9',
- ),
- 'topthink/think-orm' =>
- array (
- 'pretty_version' => 'v2.0.27',
- 'version' => '2.0.27.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '02affaaccade2cdd8bbb2d2f5d15e46113e6eb50',
- ),
- 'topthink/think-queue' =>
- array (
- 'pretty_version' => 'v3.0.2',
- 'version' => '3.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c34b983abce9427fca7e30ac983b75041f436ad0',
- ),
- 'topthink/think-template' =>
- array (
- 'pretty_version' => 'v2.0.7',
- 'version' => '2.0.7.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e98bdbb4a4c94b442f17dfceba81e0134d4fbd19',
- ),
- 'topthink/think-view' =>
- array (
- 'pretty_version' => 'v1.0.13',
- 'version' => '1.0.13.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '90803b73f781db5d42619082c4597afc58b2d4c5',
- ),
- 'workerman/channel' =>
- array (
- 'pretty_version' => 'v1.0.5',
- 'version' => '1.0.5.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0836a9a413c6e8425ee36307d95e2e49cc380f50',
- ),
- 'workerman/workerman' =>
- array (
- 'pretty_version' => 'v3.5.19',
- 'version' => '3.5.19.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4e5c24073b431fd950287efbfb5cc9b4c0fc7367',
- ),
- 'xaboy/form-builder' =>
- array (
- 'pretty_version' => '1.2.10',
- 'version' => '1.2.10.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '198c5f066499eef8b005f5d504fcb6120fa3ac04',
- ),
- ),
- );
- private static $canGetVendors;
- private static $installedByVendor = array();
- public static function getInstalledPackages()
- {
- $packages = array();
- foreach (self::getInstalled() as $installed) {
- $packages[] = array_keys($installed['versions']);
- }
- if (1 === \count($packages)) {
- return $packages[0];
- }
- return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
- }
- public static function isInstalled($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (isset($installed['versions'][$packageName])) {
- return true;
- }
- }
- return false;
- }
- public static function satisfies(VersionParser $parser, $packageName, $constraint)
- {
- $constraint = $parser->parseConstraints($constraint);
- $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
- return $provided->matches($constraint);
- }
- public static function getVersionRanges($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- $ranges = array();
- if (isset($installed['versions'][$packageName]['pretty_version'])) {
- $ranges[] = $installed['versions'][$packageName]['pretty_version'];
- }
- if (array_key_exists('aliases', $installed['versions'][$packageName])) {
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
- }
- if (array_key_exists('replaced', $installed['versions'][$packageName])) {
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
- }
- if (array_key_exists('provided', $installed['versions'][$packageName])) {
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
- }
- return implode(' || ', $ranges);
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getVersion($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- if (!isset($installed['versions'][$packageName]['version'])) {
- return null;
- }
- return $installed['versions'][$packageName]['version'];
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getPrettyVersion($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- if (!isset($installed['versions'][$packageName]['pretty_version'])) {
- return null;
- }
- return $installed['versions'][$packageName]['pretty_version'];
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getReference($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- if (!isset($installed['versions'][$packageName]['reference'])) {
- return null;
- }
- return $installed['versions'][$packageName]['reference'];
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getRootPackage()
- {
- $installed = self::getInstalled();
- return $installed[0]['root'];
- }
- public static function getRawData()
- {
- @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
- return self::$installed;
- }
- public static function getAllRawData()
- {
- return self::getInstalled();
- }
- public static function reload($data)
- {
- self::$installed = $data;
- self::$installedByVendor = array();
- }
- private static function getInstalled()
- {
- if (null === self::$canGetVendors) {
- self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
- }
- $installed = array();
- if (self::$canGetVendors) {
- foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
- if (isset(self::$installedByVendor[$vendorDir])) {
- $installed[] = self::$installedByVendor[$vendorDir];
- } elseif (is_file($vendorDir.'/composer/installed.php')) {
- $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
- }
- }
- }
- $installed[] = self::$installed;
- return $installed;
- }
- }
|