Keine Beschreibung

InstalledVersions.php 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287
  1. <?php
  2. namespace Composer;
  3. use Composer\Semver\VersionParser;
  4. class InstalledVersions
  5. {
  6. private static $installed = array (
  7. 'root' =>
  8. array (
  9. 'pretty_version' => '1.0.0+no-version-set',
  10. 'version' => '1.0.0.0',
  11. 'aliases' =>
  12. array (
  13. ),
  14. 'reference' => NULL,
  15. 'name' => 'laravel/laravel',
  16. ),
  17. 'versions' =>
  18. array (
  19. 'beyondcode/laravel-dump-server' =>
  20. array (
  21. 'pretty_version' => '1.3.0',
  22. 'version' => '1.3.0.0',
  23. 'aliases' =>
  24. array (
  25. ),
  26. 'reference' => 'fcc88fa66895f8c1ff83f6145a5eff5fa2a0739a',
  27. ),
  28. 'cordoval/hamcrest-php' =>
  29. array (
  30. 'replaced' =>
  31. array (
  32. 0 => '*',
  33. ),
  34. ),
  35. 'davedevelopment/hamcrest-php' =>
  36. array (
  37. 'replaced' =>
  38. array (
  39. 0 => '*',
  40. ),
  41. ),
  42. 'dnoegel/php-xdg-base-dir' =>
  43. array (
  44. 'pretty_version' => 'v0.1.1',
  45. 'version' => '0.1.1.0',
  46. 'aliases' =>
  47. array (
  48. ),
  49. 'reference' => '8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd',
  50. ),
  51. 'doctrine/inflector' =>
  52. array (
  53. 'pretty_version' => '1.4.4',
  54. 'version' => '1.4.4.0',
  55. 'aliases' =>
  56. array (
  57. ),
  58. 'reference' => '4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9',
  59. ),
  60. 'doctrine/instantiator' =>
  61. array (
  62. 'pretty_version' => '1.4.1',
  63. 'version' => '1.4.1.0',
  64. 'aliases' =>
  65. array (
  66. ),
  67. 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc',
  68. ),
  69. 'doctrine/lexer' =>
  70. array (
  71. 'pretty_version' => '1.2.3',
  72. 'version' => '1.2.3.0',
  73. 'aliases' =>
  74. array (
  75. ),
  76. 'reference' => 'c268e882d4dbdd85e36e4ad69e02dc284f89d229',
  77. ),
  78. 'dragonmantank/cron-expression' =>
  79. array (
  80. 'pretty_version' => 'v2.3.1',
  81. 'version' => '2.3.1.0',
  82. 'aliases' =>
  83. array (
  84. ),
  85. 'reference' => '65b2d8ee1f10915efb3b55597da3404f096acba2',
  86. ),
  87. 'egulias/email-validator' =>
  88. array (
  89. 'pretty_version' => '2.1.25',
  90. 'version' => '2.1.25.0',
  91. 'aliases' =>
  92. array (
  93. ),
  94. 'reference' => '0dbf5d78455d4d6a41d186da50adc1122ec066f4',
  95. ),
  96. 'erusev/parsedown' =>
  97. array (
  98. 'pretty_version' => '1.7.4',
  99. 'version' => '1.7.4.0',
  100. 'aliases' =>
  101. array (
  102. ),
  103. 'reference' => 'cb17b6477dfff935958ba01325f2e8a2bfa6dab3',
  104. ),
  105. 'fideloper/proxy' =>
  106. array (
  107. 'pretty_version' => '4.4.1',
  108. 'version' => '4.4.1.0',
  109. 'aliases' =>
  110. array (
  111. ),
  112. 'reference' => 'c073b2bd04d1c90e04dc1b787662b558dd65ade0',
  113. ),
  114. 'filp/whoops' =>
  115. array (
  116. 'pretty_version' => '2.14.5',
  117. 'version' => '2.14.5.0',
  118. 'aliases' =>
  119. array (
  120. ),
  121. 'reference' => 'a63e5e8f26ebbebf8ed3c5c691637325512eb0dc',
  122. ),
  123. 'fzaninotto/faker' =>
  124. array (
  125. 'pretty_version' => 'v1.9.2',
  126. 'version' => '1.9.2.0',
  127. 'aliases' =>
  128. array (
  129. ),
  130. 'reference' => '848d8125239d7dbf8ab25cb7f054f1a630e68c2e',
  131. ),
  132. 'hamcrest/hamcrest-php' =>
  133. array (
  134. 'pretty_version' => 'v2.0.1',
  135. 'version' => '2.0.1.0',
  136. 'aliases' =>
  137. array (
  138. ),
  139. 'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3',
  140. ),
  141. 'illuminate/auth' =>
  142. array (
  143. 'replaced' =>
  144. array (
  145. 0 => 'v5.8.38',
  146. ),
  147. ),
  148. 'illuminate/broadcasting' =>
  149. array (
  150. 'replaced' =>
  151. array (
  152. 0 => 'v5.8.38',
  153. ),
  154. ),
  155. 'illuminate/bus' =>
  156. array (
  157. 'replaced' =>
  158. array (
  159. 0 => 'v5.8.38',
  160. ),
  161. ),
  162. 'illuminate/cache' =>
  163. array (
  164. 'replaced' =>
  165. array (
  166. 0 => 'v5.8.38',
  167. ),
  168. ),
  169. 'illuminate/config' =>
  170. array (
  171. 'replaced' =>
  172. array (
  173. 0 => 'v5.8.38',
  174. ),
  175. ),
  176. 'illuminate/console' =>
  177. array (
  178. 'replaced' =>
  179. array (
  180. 0 => 'v5.8.38',
  181. ),
  182. ),
  183. 'illuminate/container' =>
  184. array (
  185. 'replaced' =>
  186. array (
  187. 0 => 'v5.8.38',
  188. ),
  189. ),
  190. 'illuminate/contracts' =>
  191. array (
  192. 'replaced' =>
  193. array (
  194. 0 => 'v5.8.38',
  195. ),
  196. ),
  197. 'illuminate/cookie' =>
  198. array (
  199. 'replaced' =>
  200. array (
  201. 0 => 'v5.8.38',
  202. ),
  203. ),
  204. 'illuminate/database' =>
  205. array (
  206. 'replaced' =>
  207. array (
  208. 0 => 'v5.8.38',
  209. ),
  210. ),
  211. 'illuminate/encryption' =>
  212. array (
  213. 'replaced' =>
  214. array (
  215. 0 => 'v5.8.38',
  216. ),
  217. ),
  218. 'illuminate/events' =>
  219. array (
  220. 'replaced' =>
  221. array (
  222. 0 => 'v5.8.38',
  223. ),
  224. ),
  225. 'illuminate/filesystem' =>
  226. array (
  227. 'replaced' =>
  228. array (
  229. 0 => 'v5.8.38',
  230. ),
  231. ),
  232. 'illuminate/hashing' =>
  233. array (
  234. 'replaced' =>
  235. array (
  236. 0 => 'v5.8.38',
  237. ),
  238. ),
  239. 'illuminate/http' =>
  240. array (
  241. 'replaced' =>
  242. array (
  243. 0 => 'v5.8.38',
  244. ),
  245. ),
  246. 'illuminate/log' =>
  247. array (
  248. 'replaced' =>
  249. array (
  250. 0 => 'v5.8.38',
  251. ),
  252. ),
  253. 'illuminate/mail' =>
  254. array (
  255. 'replaced' =>
  256. array (
  257. 0 => 'v5.8.38',
  258. ),
  259. ),
  260. 'illuminate/notifications' =>
  261. array (
  262. 'replaced' =>
  263. array (
  264. 0 => 'v5.8.38',
  265. ),
  266. ),
  267. 'illuminate/pagination' =>
  268. array (
  269. 'replaced' =>
  270. array (
  271. 0 => 'v5.8.38',
  272. ),
  273. ),
  274. 'illuminate/pipeline' =>
  275. array (
  276. 'replaced' =>
  277. array (
  278. 0 => 'v5.8.38',
  279. ),
  280. ),
  281. 'illuminate/queue' =>
  282. array (
  283. 'replaced' =>
  284. array (
  285. 0 => 'v5.8.38',
  286. ),
  287. ),
  288. 'illuminate/redis' =>
  289. array (
  290. 'replaced' =>
  291. array (
  292. 0 => 'v5.8.38',
  293. ),
  294. ),
  295. 'illuminate/routing' =>
  296. array (
  297. 'replaced' =>
  298. array (
  299. 0 => 'v5.8.38',
  300. ),
  301. ),
  302. 'illuminate/session' =>
  303. array (
  304. 'replaced' =>
  305. array (
  306. 0 => 'v5.8.38',
  307. ),
  308. ),
  309. 'illuminate/support' =>
  310. array (
  311. 'replaced' =>
  312. array (
  313. 0 => 'v5.8.38',
  314. ),
  315. ),
  316. 'illuminate/translation' =>
  317. array (
  318. 'replaced' =>
  319. array (
  320. 0 => 'v5.8.38',
  321. ),
  322. ),
  323. 'illuminate/validation' =>
  324. array (
  325. 'replaced' =>
  326. array (
  327. 0 => 'v5.8.38',
  328. ),
  329. ),
  330. 'illuminate/view' =>
  331. array (
  332. 'replaced' =>
  333. array (
  334. 0 => 'v5.8.38',
  335. ),
  336. ),
  337. 'jakub-onderka/php-console-color' =>
  338. array (
  339. 'replaced' =>
  340. array (
  341. 0 => '*',
  342. ),
  343. ),
  344. 'jakub-onderka/php-console-highlighter' =>
  345. array (
  346. 'replaced' =>
  347. array (
  348. 0 => '*',
  349. ),
  350. ),
  351. 'kodova/hamcrest-php' =>
  352. array (
  353. 'replaced' =>
  354. array (
  355. 0 => '*',
  356. ),
  357. ),
  358. 'laravel/framework' =>
  359. array (
  360. 'pretty_version' => 'v5.8.38',
  361. 'version' => '5.8.38.0',
  362. 'aliases' =>
  363. array (
  364. ),
  365. 'reference' => '78eb4dabcc03e189620c16f436358d41d31ae11f',
  366. ),
  367. 'laravel/laravel' =>
  368. array (
  369. 'pretty_version' => '1.0.0+no-version-set',
  370. 'version' => '1.0.0.0',
  371. 'aliases' =>
  372. array (
  373. ),
  374. 'reference' => NULL,
  375. ),
  376. 'laravel/tinker' =>
  377. array (
  378. 'pretty_version' => 'v1.0.10',
  379. 'version' => '1.0.10.0',
  380. 'aliases' =>
  381. array (
  382. ),
  383. 'reference' => 'ad571aacbac1539c30d480908f9d0c9614eaf1a7',
  384. ),
  385. 'laravelchen/laravel-editormd' =>
  386. array (
  387. 'pretty_version' => '2.5.5',
  388. 'version' => '2.5.5.0',
  389. 'aliases' =>
  390. array (
  391. ),
  392. 'reference' => 'b3b25a063bef30f5af8f172ac137cb4bd7d3bca5',
  393. ),
  394. 'league/flysystem' =>
  395. array (
  396. 'pretty_version' => '1.1.9',
  397. 'version' => '1.1.9.0',
  398. 'aliases' =>
  399. array (
  400. ),
  401. 'reference' => '094defdb4a7001845300334e7c1ee2335925ef99',
  402. ),
  403. 'league/mime-type-detection' =>
  404. array (
  405. 'pretty_version' => '1.9.0',
  406. 'version' => '1.9.0.0',
  407. 'aliases' =>
  408. array (
  409. ),
  410. 'reference' => 'aa70e813a6ad3d1558fc927863d47309b4c23e69',
  411. ),
  412. 'mockery/mockery' =>
  413. array (
  414. 'pretty_version' => '1.3.5',
  415. 'version' => '1.3.5.0',
  416. 'aliases' =>
  417. array (
  418. ),
  419. 'reference' => '472fa8ca4e55483d55ee1e73c963718c4393791d',
  420. ),
  421. 'monolog/monolog' =>
  422. array (
  423. 'pretty_version' => '1.27.0',
  424. 'version' => '1.27.0.0',
  425. 'aliases' =>
  426. array (
  427. ),
  428. 'reference' => '52ebd235c1f7e0d5e1b16464b695a28335f8e44a',
  429. ),
  430. 'myclabs/deep-copy' =>
  431. array (
  432. 'pretty_version' => '1.11.0',
  433. 'version' => '1.11.0.0',
  434. 'aliases' =>
  435. array (
  436. ),
  437. 'reference' => '14daed4296fae74d9e3201d2c4925d1acb7aa614',
  438. ),
  439. 'myclabs/php-enum' =>
  440. array (
  441. 'pretty_version' => '1.6.6',
  442. 'version' => '1.6.6.0',
  443. 'aliases' =>
  444. array (
  445. ),
  446. 'reference' => '32c4202886c51fbe5cc3a7c34ec5c9a4a790345e',
  447. ),
  448. 'nesbot/carbon' =>
  449. array (
  450. 'pretty_version' => '2.57.0',
  451. 'version' => '2.57.0.0',
  452. 'aliases' =>
  453. array (
  454. ),
  455. 'reference' => '4a54375c21eea4811dbd1149fe6b246517554e78',
  456. ),
  457. 'nikic/php-parser' =>
  458. array (
  459. 'pretty_version' => 'v4.13.2',
  460. 'version' => '4.13.2.0',
  461. 'aliases' =>
  462. array (
  463. ),
  464. 'reference' => '210577fe3cf7badcc5814d99455df46564f3c077',
  465. ),
  466. 'nunomaduro/collision' =>
  467. array (
  468. 'pretty_version' => 'v3.2.0',
  469. 'version' => '3.2.0.0',
  470. 'aliases' =>
  471. array (
  472. ),
  473. 'reference' => 'f7c45764dfe4ba5f2618d265a6f1f9c72732e01d',
  474. ),
  475. 'opis/closure' =>
  476. array (
  477. 'pretty_version' => '3.6.3',
  478. 'version' => '3.6.3.0',
  479. 'aliases' =>
  480. array (
  481. ),
  482. 'reference' => '3d81e4309d2a927abbe66df935f4bb60082805ad',
  483. ),
  484. 'paragonie/random_compat' =>
  485. array (
  486. 'pretty_version' => 'v9.99.100',
  487. 'version' => '9.99.100.0',
  488. 'aliases' =>
  489. array (
  490. ),
  491. 'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
  492. ),
  493. 'phar-io/manifest' =>
  494. array (
  495. 'pretty_version' => '1.0.3',
  496. 'version' => '1.0.3.0',
  497. 'aliases' =>
  498. array (
  499. ),
  500. 'reference' => '7761fcacf03b4d4f16e7ccb606d4879ca431fcf4',
  501. ),
  502. 'phar-io/version' =>
  503. array (
  504. 'pretty_version' => '2.0.1',
  505. 'version' => '2.0.1.0',
  506. 'aliases' =>
  507. array (
  508. ),
  509. 'reference' => '45a2ec53a73c70ce41d55cedef9063630abaf1b6',
  510. ),
  511. 'php-parallel-lint/php-console-color' =>
  512. array (
  513. 'pretty_version' => 'v0.3',
  514. 'version' => '0.3.0.0',
  515. 'aliases' =>
  516. array (
  517. ),
  518. 'reference' => 'b6af326b2088f1ad3b264696c9fd590ec395b49e',
  519. ),
  520. 'php-parallel-lint/php-console-highlighter' =>
  521. array (
  522. 'pretty_version' => 'v0.5',
  523. 'version' => '0.5.0.0',
  524. 'aliases' =>
  525. array (
  526. ),
  527. 'reference' => '21bf002f077b177f056d8cb455c5ed573adfdbb8',
  528. ),
  529. 'phpdocumentor/reflection-common' =>
  530. array (
  531. 'pretty_version' => '2.2.0',
  532. 'version' => '2.2.0.0',
  533. 'aliases' =>
  534. array (
  535. ),
  536. 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b',
  537. ),
  538. 'phpdocumentor/reflection-docblock' =>
  539. array (
  540. 'pretty_version' => '5.3.0',
  541. 'version' => '5.3.0.0',
  542. 'aliases' =>
  543. array (
  544. ),
  545. 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170',
  546. ),
  547. 'phpdocumentor/type-resolver' =>
  548. array (
  549. 'pretty_version' => '1.6.0',
  550. 'version' => '1.6.0.0',
  551. 'aliases' =>
  552. array (
  553. ),
  554. 'reference' => '93ebd0014cab80c4ea9f5e297ea48672f1b87706',
  555. ),
  556. 'phpoption/phpoption' =>
  557. array (
  558. 'pretty_version' => '1.8.1',
  559. 'version' => '1.8.1.0',
  560. 'aliases' =>
  561. array (
  562. ),
  563. 'reference' => 'eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15',
  564. ),
  565. 'phpspec/prophecy' =>
  566. array (
  567. 'pretty_version' => 'v1.15.0',
  568. 'version' => '1.15.0.0',
  569. 'aliases' =>
  570. array (
  571. ),
  572. 'reference' => 'bbcd7380b0ebf3961ee21409db7b38bc31d69a13',
  573. ),
  574. 'phpunit/php-code-coverage' =>
  575. array (
  576. 'pretty_version' => '6.1.4',
  577. 'version' => '6.1.4.0',
  578. 'aliases' =>
  579. array (
  580. ),
  581. 'reference' => '807e6013b00af69b6c5d9ceb4282d0393dbb9d8d',
  582. ),
  583. 'phpunit/php-file-iterator' =>
  584. array (
  585. 'pretty_version' => '2.0.5',
  586. 'version' => '2.0.5.0',
  587. 'aliases' =>
  588. array (
  589. ),
  590. 'reference' => '42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5',
  591. ),
  592. 'phpunit/php-text-template' =>
  593. array (
  594. 'pretty_version' => '1.2.1',
  595. 'version' => '1.2.1.0',
  596. 'aliases' =>
  597. array (
  598. ),
  599. 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686',
  600. ),
  601. 'phpunit/php-timer' =>
  602. array (
  603. 'pretty_version' => '2.1.3',
  604. 'version' => '2.1.3.0',
  605. 'aliases' =>
  606. array (
  607. ),
  608. 'reference' => '2454ae1765516d20c4ffe103d85a58a9a3bd5662',
  609. ),
  610. 'phpunit/php-token-stream' =>
  611. array (
  612. 'pretty_version' => '3.1.3',
  613. 'version' => '3.1.3.0',
  614. 'aliases' =>
  615. array (
  616. ),
  617. 'reference' => '9c1da83261628cb24b6a6df371b6e312b3954768',
  618. ),
  619. 'phpunit/phpunit' =>
  620. array (
  621. 'pretty_version' => '7.5.20',
  622. 'version' => '7.5.20.0',
  623. 'aliases' =>
  624. array (
  625. ),
  626. 'reference' => '9467db479d1b0487c99733bb1e7944d32deded2c',
  627. ),
  628. 'psr/container' =>
  629. array (
  630. 'pretty_version' => '1.1.2',
  631. 'version' => '1.1.2.0',
  632. 'aliases' =>
  633. array (
  634. ),
  635. 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
  636. ),
  637. 'psr/event-dispatcher-implementation' =>
  638. array (
  639. 'provided' =>
  640. array (
  641. 0 => '1.0',
  642. ),
  643. ),
  644. 'psr/log' =>
  645. array (
  646. 'pretty_version' => '1.1.4',
  647. 'version' => '1.1.4.0',
  648. 'aliases' =>
  649. array (
  650. ),
  651. 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',
  652. ),
  653. 'psr/log-implementation' =>
  654. array (
  655. 'provided' =>
  656. array (
  657. 0 => '1.0.0',
  658. 1 => '1.0|2.0',
  659. ),
  660. ),
  661. 'psr/simple-cache' =>
  662. array (
  663. 'pretty_version' => '1.0.1',
  664. 'version' => '1.0.1.0',
  665. 'aliases' =>
  666. array (
  667. ),
  668. 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
  669. ),
  670. 'psy/psysh' =>
  671. array (
  672. 'pretty_version' => 'v0.9.12',
  673. 'version' => '0.9.12.0',
  674. 'aliases' =>
  675. array (
  676. ),
  677. 'reference' => '90da7f37568aee36b116a030c5f99c915267edd4',
  678. ),
  679. 'qiniu/php-sdk' =>
  680. array (
  681. 'pretty_version' => 'v7.4.2',
  682. 'version' => '7.4.2.0',
  683. 'aliases' =>
  684. array (
  685. ),
  686. 'reference' => '8414ee6b0027acc682469c7a2e7144f3ed2b7676',
  687. ),
  688. 'ramsey/uuid' =>
  689. array (
  690. 'pretty_version' => '3.9.6',
  691. 'version' => '3.9.6.0',
  692. 'aliases' =>
  693. array (
  694. ),
  695. 'reference' => 'ffa80ab953edd85d5b6c004f96181a538aad35a3',
  696. ),
  697. 'rhumsaa/uuid' =>
  698. array (
  699. 'replaced' =>
  700. array (
  701. 0 => '3.9.6',
  702. ),
  703. ),
  704. 'sebastian/code-unit-reverse-lookup' =>
  705. array (
  706. 'pretty_version' => '1.0.2',
  707. 'version' => '1.0.2.0',
  708. 'aliases' =>
  709. array (
  710. ),
  711. 'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619',
  712. ),
  713. 'sebastian/comparator' =>
  714. array (
  715. 'pretty_version' => '3.0.3',
  716. 'version' => '3.0.3.0',
  717. 'aliases' =>
  718. array (
  719. ),
  720. 'reference' => '1071dfcef776a57013124ff35e1fc41ccd294758',
  721. ),
  722. 'sebastian/diff' =>
  723. array (
  724. 'pretty_version' => '3.0.3',
  725. 'version' => '3.0.3.0',
  726. 'aliases' =>
  727. array (
  728. ),
  729. 'reference' => '14f72dd46eaf2f2293cbe79c93cc0bc43161a211',
  730. ),
  731. 'sebastian/environment' =>
  732. array (
  733. 'pretty_version' => '4.2.4',
  734. 'version' => '4.2.4.0',
  735. 'aliases' =>
  736. array (
  737. ),
  738. 'reference' => 'd47bbbad83711771f167c72d4e3f25f7fcc1f8b0',
  739. ),
  740. 'sebastian/exporter' =>
  741. array (
  742. 'pretty_version' => '3.1.4',
  743. 'version' => '3.1.4.0',
  744. 'aliases' =>
  745. array (
  746. ),
  747. 'reference' => '0c32ea2e40dbf59de29f3b49bf375176ce7dd8db',
  748. ),
  749. 'sebastian/global-state' =>
  750. array (
  751. 'pretty_version' => '2.0.0',
  752. 'version' => '2.0.0.0',
  753. 'aliases' =>
  754. array (
  755. ),
  756. 'reference' => 'e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4',
  757. ),
  758. 'sebastian/object-enumerator' =>
  759. array (
  760. 'pretty_version' => '3.0.4',
  761. 'version' => '3.0.4.0',
  762. 'aliases' =>
  763. array (
  764. ),
  765. 'reference' => 'e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2',
  766. ),
  767. 'sebastian/object-reflector' =>
  768. array (
  769. 'pretty_version' => '1.1.2',
  770. 'version' => '1.1.2.0',
  771. 'aliases' =>
  772. array (
  773. ),
  774. 'reference' => '9b8772b9cbd456ab45d4a598d2dd1a1bced6363d',
  775. ),
  776. 'sebastian/recursion-context' =>
  777. array (
  778. 'pretty_version' => '3.0.1',
  779. 'version' => '3.0.1.0',
  780. 'aliases' =>
  781. array (
  782. ),
  783. 'reference' => '367dcba38d6e1977be014dc4b22f47a484dac7fb',
  784. ),
  785. 'sebastian/resource-operations' =>
  786. array (
  787. 'pretty_version' => '2.0.2',
  788. 'version' => '2.0.2.0',
  789. 'aliases' =>
  790. array (
  791. ),
  792. 'reference' => '31d35ca87926450c44eae7e2611d45a7a65ea8b3',
  793. ),
  794. 'sebastian/version' =>
  795. array (
  796. 'pretty_version' => '2.0.1',
  797. 'version' => '2.0.1.0',
  798. 'aliases' =>
  799. array (
  800. ),
  801. 'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019',
  802. ),
  803. 'swiftmailer/swiftmailer' =>
  804. array (
  805. 'pretty_version' => 'v6.3.0',
  806. 'version' => '6.3.0.0',
  807. 'aliases' =>
  808. array (
  809. ),
  810. 'reference' => '8a5d5072dca8f48460fce2f4131fcc495eec654c',
  811. ),
  812. 'symfony/console' =>
  813. array (
  814. 'pretty_version' => 'v4.4.38',
  815. 'version' => '4.4.38.0',
  816. 'aliases' =>
  817. array (
  818. ),
  819. 'reference' => '5a50085bf5460f0c0d60a50b58388c1249826b8a',
  820. ),
  821. 'symfony/css-selector' =>
  822. array (
  823. 'pretty_version' => 'v5.4.3',
  824. 'version' => '5.4.3.0',
  825. 'aliases' =>
  826. array (
  827. ),
  828. 'reference' => 'b0a190285cd95cb019237851205b8140ef6e368e',
  829. ),
  830. 'symfony/debug' =>
  831. array (
  832. 'pretty_version' => 'v4.4.37',
  833. 'version' => '4.4.37.0',
  834. 'aliases' =>
  835. array (
  836. ),
  837. 'reference' => '5de6c6e7f52b364840e53851c126be4d71e60470',
  838. ),
  839. 'symfony/deprecation-contracts' =>
  840. array (
  841. 'pretty_version' => 'v2.5.0',
  842. 'version' => '2.5.0.0',
  843. 'aliases' =>
  844. array (
  845. ),
  846. 'reference' => '6f981ee24cf69ee7ce9736146d1c57c2780598a8',
  847. ),
  848. 'symfony/error-handler' =>
  849. array (
  850. 'pretty_version' => 'v4.4.37',
  851. 'version' => '4.4.37.0',
  852. 'aliases' =>
  853. array (
  854. ),
  855. 'reference' => '8d80ad881e1ce17979547873d093e3c987a6a629',
  856. ),
  857. 'symfony/event-dispatcher' =>
  858. array (
  859. 'pretty_version' => 'v4.4.37',
  860. 'version' => '4.4.37.0',
  861. 'aliases' =>
  862. array (
  863. ),
  864. 'reference' => '3ccfcfb96ecce1217d7b0875a0736976bc6e63dc',
  865. ),
  866. 'symfony/event-dispatcher-contracts' =>
  867. array (
  868. 'pretty_version' => 'v1.1.11',
  869. 'version' => '1.1.11.0',
  870. 'aliases' =>
  871. array (
  872. ),
  873. 'reference' => '01e9a4efac0ee33a05dfdf93b346f62e7d0e998c',
  874. ),
  875. 'symfony/event-dispatcher-implementation' =>
  876. array (
  877. 'provided' =>
  878. array (
  879. 0 => '1.1',
  880. ),
  881. ),
  882. 'symfony/finder' =>
  883. array (
  884. 'pretty_version' => 'v4.4.37',
  885. 'version' => '4.4.37.0',
  886. 'aliases' =>
  887. array (
  888. ),
  889. 'reference' => 'b17d76d7ed179f017aad646e858c90a2771af15d',
  890. ),
  891. 'symfony/http-client-contracts' =>
  892. array (
  893. 'pretty_version' => 'v2.5.0',
  894. 'version' => '2.5.0.0',
  895. 'aliases' =>
  896. array (
  897. ),
  898. 'reference' => 'ec82e57b5b714dbb69300d348bd840b345e24166',
  899. ),
  900. 'symfony/http-foundation' =>
  901. array (
  902. 'pretty_version' => 'v4.4.39',
  903. 'version' => '4.4.39.0',
  904. 'aliases' =>
  905. array (
  906. ),
  907. 'reference' => '60e8e42a4579551e5ec887d04380e2ab9e4cc314',
  908. ),
  909. 'symfony/http-kernel' =>
  910. array (
  911. 'pretty_version' => 'v4.4.39',
  912. 'version' => '4.4.39.0',
  913. 'aliases' =>
  914. array (
  915. ),
  916. 'reference' => '19d1cacefe81cb448227cc4d5909fb36e2e23081',
  917. ),
  918. 'symfony/mime' =>
  919. array (
  920. 'pretty_version' => 'v5.4.3',
  921. 'version' => '5.4.3.0',
  922. 'aliases' =>
  923. array (
  924. ),
  925. 'reference' => 'e1503cfb5c9a225350f549d3bb99296f4abfb80f',
  926. ),
  927. 'symfony/polyfill-ctype' =>
  928. array (
  929. 'pretty_version' => 'v1.25.0',
  930. 'version' => '1.25.0.0',
  931. 'aliases' =>
  932. array (
  933. ),
  934. 'reference' => '30885182c981ab175d4d034db0f6f469898070ab',
  935. ),
  936. 'symfony/polyfill-iconv' =>
  937. array (
  938. 'pretty_version' => 'v1.25.0',
  939. 'version' => '1.25.0.0',
  940. 'aliases' =>
  941. array (
  942. ),
  943. 'reference' => 'f1aed619e28cb077fc83fac8c4c0383578356e40',
  944. ),
  945. 'symfony/polyfill-intl-idn' =>
  946. array (
  947. 'pretty_version' => 'v1.25.0',
  948. 'version' => '1.25.0.0',
  949. 'aliases' =>
  950. array (
  951. ),
  952. 'reference' => '749045c69efb97c70d25d7463abba812e91f3a44',
  953. ),
  954. 'symfony/polyfill-intl-normalizer' =>
  955. array (
  956. 'pretty_version' => 'v1.25.0',
  957. 'version' => '1.25.0.0',
  958. 'aliases' =>
  959. array (
  960. ),
  961. 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8',
  962. ),
  963. 'symfony/polyfill-mbstring' =>
  964. array (
  965. 'pretty_version' => 'v1.25.0',
  966. 'version' => '1.25.0.0',
  967. 'aliases' =>
  968. array (
  969. ),
  970. 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825',
  971. ),
  972. 'symfony/polyfill-php72' =>
  973. array (
  974. 'pretty_version' => 'v1.25.0',
  975. 'version' => '1.25.0.0',
  976. 'aliases' =>
  977. array (
  978. ),
  979. 'reference' => '9a142215a36a3888e30d0a9eeea9766764e96976',
  980. ),
  981. 'symfony/polyfill-php73' =>
  982. array (
  983. 'pretty_version' => 'v1.25.0',
  984. 'version' => '1.25.0.0',
  985. 'aliases' =>
  986. array (
  987. ),
  988. 'reference' => 'cc5db0e22b3cb4111010e48785a97f670b350ca5',
  989. ),
  990. 'symfony/polyfill-php80' =>
  991. array (
  992. 'pretty_version' => 'v1.25.0',
  993. 'version' => '1.25.0.0',
  994. 'aliases' =>
  995. array (
  996. ),
  997. 'reference' => '4407588e0d3f1f52efb65fbe92babe41f37fe50c',
  998. ),
  999. 'symfony/process' =>
  1000. array (
  1001. 'pretty_version' => 'v4.4.37',
  1002. 'version' => '4.4.37.0',
  1003. 'aliases' =>
  1004. array (
  1005. ),
  1006. 'reference' => 'b2d924e5a4cb284f293d5092b1dbf0d364cb8b67',
  1007. ),
  1008. 'symfony/routing' =>
  1009. array (
  1010. 'pretty_version' => 'v4.4.37',
  1011. 'version' => '4.4.37.0',
  1012. 'aliases' =>
  1013. array (
  1014. ),
  1015. 'reference' => '324f7f73b89cd30012575119430ccfb1dfbc24be',
  1016. ),
  1017. 'symfony/service-contracts' =>
  1018. array (
  1019. 'pretty_version' => 'v2.5.0',
  1020. 'version' => '2.5.0.0',
  1021. 'aliases' =>
  1022. array (
  1023. ),
  1024. 'reference' => '1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc',
  1025. ),
  1026. 'symfony/translation' =>
  1027. array (
  1028. 'pretty_version' => 'v4.4.37',
  1029. 'version' => '4.4.37.0',
  1030. 'aliases' =>
  1031. array (
  1032. ),
  1033. 'reference' => '4ce00d6875230b839f5feef82e51971f6c886e00',
  1034. ),
  1035. 'symfony/translation-contracts' =>
  1036. array (
  1037. 'pretty_version' => 'v2.5.0',
  1038. 'version' => '2.5.0.0',
  1039. 'aliases' =>
  1040. array (
  1041. ),
  1042. 'reference' => 'd28150f0f44ce854e942b671fc2620a98aae1b1e',
  1043. ),
  1044. 'symfony/translation-implementation' =>
  1045. array (
  1046. 'provided' =>
  1047. array (
  1048. 0 => '1.0|2.0',
  1049. ),
  1050. ),
  1051. 'symfony/var-dumper' =>
  1052. array (
  1053. 'pretty_version' => 'v4.4.39',
  1054. 'version' => '4.4.39.0',
  1055. 'aliases' =>
  1056. array (
  1057. ),
  1058. 'reference' => '35237c5e5dcb6593a46a860ba5b29c1d4683d80e',
  1059. ),
  1060. 'theseer/tokenizer' =>
  1061. array (
  1062. 'pretty_version' => '1.2.1',
  1063. 'version' => '1.2.1.0',
  1064. 'aliases' =>
  1065. array (
  1066. ),
  1067. 'reference' => '34a41e998c2183e22995f158c581e7b5e755ab9e',
  1068. ),
  1069. 'tijsverkoyen/css-to-inline-styles' =>
  1070. array (
  1071. 'pretty_version' => '2.2.4',
  1072. 'version' => '2.2.4.0',
  1073. 'aliases' =>
  1074. array (
  1075. ),
  1076. 'reference' => 'da444caae6aca7a19c0c140f68c6182e337d5b1c',
  1077. ),
  1078. 'vlucas/phpdotenv' =>
  1079. array (
  1080. 'pretty_version' => 'v3.6.10',
  1081. 'version' => '3.6.10.0',
  1082. 'aliases' =>
  1083. array (
  1084. ),
  1085. 'reference' => '5b547cdb25825f10251370f57ba5d9d924e6f68e',
  1086. ),
  1087. 'webmozart/assert' =>
  1088. array (
  1089. 'pretty_version' => '1.10.0',
  1090. 'version' => '1.10.0.0',
  1091. 'aliases' =>
  1092. array (
  1093. ),
  1094. 'reference' => '6964c76c7804814a842473e0c8fd15bab0f18e25',
  1095. ),
  1096. 'zgldh/qiniu-laravel-storage' =>
  1097. array (
  1098. 'pretty_version' => 'v0.7.0',
  1099. 'version' => '0.7.0.0',
  1100. 'aliases' =>
  1101. array (
  1102. ),
  1103. 'reference' => '1651af398c46e994df4179cfa41bf80cb025e7e0',
  1104. ),
  1105. ),
  1106. );
  1107. public static function getInstalledPackages()
  1108. {
  1109. return array_keys(self::$installed['versions']);
  1110. }
  1111. public static function isInstalled($packageName)
  1112. {
  1113. return isset(self::$installed['versions'][$packageName]);
  1114. }
  1115. public static function satisfies(VersionParser $parser, $packageName, $constraint)
  1116. {
  1117. $constraint = $parser->parseConstraints($constraint);
  1118. $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
  1119. return $provided->matches($constraint);
  1120. }
  1121. public static function getVersionRanges($packageName)
  1122. {
  1123. if (!isset(self::$installed['versions'][$packageName])) {
  1124. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1125. }
  1126. $ranges = array();
  1127. if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
  1128. $ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
  1129. }
  1130. if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
  1131. $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
  1132. }
  1133. if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
  1134. $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
  1135. }
  1136. if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
  1137. $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
  1138. }
  1139. return implode(' || ', $ranges);
  1140. }
  1141. public static function getVersion($packageName)
  1142. {
  1143. if (!isset(self::$installed['versions'][$packageName])) {
  1144. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1145. }
  1146. if (!isset(self::$installed['versions'][$packageName]['version'])) {
  1147. return null;
  1148. }
  1149. return self::$installed['versions'][$packageName]['version'];
  1150. }
  1151. public static function getPrettyVersion($packageName)
  1152. {
  1153. if (!isset(self::$installed['versions'][$packageName])) {
  1154. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1155. }
  1156. if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
  1157. return null;
  1158. }
  1159. return self::$installed['versions'][$packageName]['pretty_version'];
  1160. }
  1161. public static function getReference($packageName)
  1162. {
  1163. if (!isset(self::$installed['versions'][$packageName])) {
  1164. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1165. }
  1166. if (!isset(self::$installed['versions'][$packageName]['reference'])) {
  1167. return null;
  1168. }
  1169. return self::$installed['versions'][$packageName]['reference'];
  1170. }
  1171. public static function getRootPackage()
  1172. {
  1173. return self::$installed['root'];
  1174. }
  1175. public static function getRawData()
  1176. {
  1177. return self::$installed;
  1178. }
  1179. public static function reload($data)
  1180. {
  1181. self::$installed = $data;
  1182. }
  1183. }