1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555 |
- <?php
- namespace Composer;
- use Composer\Autoload\ClassLoader;
- use Composer\Semver\VersionParser;
- class InstalledVersions
- {
- private static $installed = array (
- 'root' =>
- array (
- 'pretty_version' => '1.0.0+no-version-set',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => NULL,
- 'name' => 'laravel/laravel',
- ),
- 'versions' =>
- array (
- 'bacon/bacon-qr-code' =>
- array (
- 'pretty_version' => '1.0.3',
- 'version' => '1.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5a91b62b9d37cee635bbf8d553f4546057250bee',
- ),
- 'beyondcode/laravel-dump-server' =>
- array (
- 'pretty_version' => '1.9.0',
- 'version' => '1.9.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1f2452617afc64e47b3cf49978beb7beeef084df',
- ),
- 'brick/math' =>
- array (
- 'pretty_version' => '0.9.3',
- 'version' => '0.9.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ca57d18f028f84f777b2168cd1911b0dee2343ae',
- ),
- 'carbonphp/carbon-doctrine-types' =>
- array (
- 'pretty_version' => '2.1.0',
- 'version' => '2.1.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '99f76ffa36cce3b70a4a6abce41dba15ca2e84cb',
- ),
- 'cblink/region' =>
- array (
- 'pretty_version' => '1.0.4',
- 'version' => '1.0.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '2730bac7a3d11e43931eb48a6ae7a2eb9e924e7b',
- ),
- 'composer/semver' =>
- array (
- 'pretty_version' => '3.4.0',
- 'version' => '3.4.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '35e8d0af4486141bc745f23a29cc2091eb624a32',
- ),
- 'cordoval/hamcrest-php' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'davedevelopment/hamcrest-php' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'dflydev/dot-access-data' =>
- array (
- 'pretty_version' => 'v3.0.2',
- 'version' => '3.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f41715465d65213d644d3141a6a93081be5d3549',
- ),
- 'doctrine/inflector' =>
- array (
- 'pretty_version' => '2.0.10',
- 'version' => '2.0.10.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5817d0659c5b50c9b950feb9af7b9668e2c436bc',
- ),
- 'doctrine/lexer' =>
- array (
- 'pretty_version' => '1.2.3',
- 'version' => '1.2.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c268e882d4dbdd85e36e4ad69e02dc284f89d229',
- ),
- 'dragonmantank/cron-expression' =>
- array (
- 'pretty_version' => 'v3.3.3',
- 'version' => '3.3.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'adfb1f505deb6384dc8b39804c5065dd3c8c8c0a',
- ),
- 'egulias/email-validator' =>
- array (
- 'pretty_version' => '2.1.25',
- 'version' => '2.1.25.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0dbf5d78455d4d6a41d186da50adc1122ec066f4',
- ),
- 'ezyang/htmlpurifier' =>
- array (
- 'pretty_version' => 'v4.17.0',
- 'version' => '4.17.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bbc513d79acf6691fa9cf10f192c90dd2957f18c',
- ),
- 'fideloper/proxy' =>
- array (
- 'pretty_version' => '4.4.2',
- 'version' => '4.4.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a751f2bc86dd8e6cfef12dc0cbdada82f5a18750',
- ),
- 'filp/whoops' =>
- array (
- 'pretty_version' => '2.15.4',
- 'version' => '2.15.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a139776fa3f5985a50b509f2a02ff0f709d2a546',
- ),
- 'fzaninotto/faker' =>
- array (
- 'pretty_version' => 'v1.9.2',
- 'version' => '1.9.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '848d8125239d7dbf8ab25cb7f054f1a630e68c2e',
- ),
- 'graham-campbell/result-type' =>
- array (
- 'pretty_version' => 'v1.1.2',
- 'version' => '1.1.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fbd48bce38f73f8a4ec8583362e732e4095e5862',
- ),
- 'guzzlehttp/guzzle' =>
- array (
- 'pretty_version' => '7.8.1',
- 'version' => '7.8.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '41042bc7ab002487b876a0683fc8dce04ddce104',
- ),
- 'guzzlehttp/promises' =>
- array (
- 'pretty_version' => '2.0.2',
- 'version' => '2.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bbff78d96034045e58e13dedd6ad91b5d1253223',
- ),
- 'guzzlehttp/psr7' =>
- array (
- 'pretty_version' => '2.6.2',
- 'version' => '2.6.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '45b30f99ac27b5ca93cb4831afe16285f57b8221',
- ),
- 'hamcrest/hamcrest-php' =>
- array (
- 'pretty_version' => 'v2.0.1',
- 'version' => '2.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3',
- ),
- 'illuminate/auth' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/broadcasting' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/bus' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/cache' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/collections' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/config' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/console' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/container' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/cookie' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/database' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/encryption' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/events' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/filesystem' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/hashing' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/http' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/log' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/macroable' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/mail' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/notifications' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/pagination' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/pipeline' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/queue' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/redis' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/routing' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/session' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/support' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/testing' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/translation' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/validation' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'illuminate/view' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v8.83.27',
- ),
- ),
- 'intervention/image' =>
- array (
- 'pretty_version' => '2.7.2',
- 'version' => '2.7.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '04be355f8d6734c826045d02a1079ad658322dad',
- ),
- 'irazasyed/telegram-bot-sdk' =>
- array (
- 'pretty_version' => 'v3.9',
- 'version' => '3.9.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c4c8250e334e94aab7b6b4a67850e39fd5a9384b',
- ),
- 'johnlui/aliyun-oss' =>
- array (
- 'pretty_version' => 'v2.2.1',
- 'version' => '2.2.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f10fdec4775e22a8295366981e1daf48c62ce5d3',
- ),
- 'kodova/hamcrest-php' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'laravel-lang/lang' =>
- array (
- 'pretty_version' => '3.0.62',
- 'version' => '3.0.62.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fcb8cec051b175278e0a9efa440f0b1033d12dd7',
- ),
- 'laravel/framework' =>
- array (
- 'pretty_version' => 'v8.83.27',
- 'version' => '8.83.27.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e1afe088b4ca613fb96dc57e6d8dbcb8cc2c6b49',
- ),
- 'laravel/laravel' =>
- array (
- 'pretty_version' => '1.0.0+no-version-set',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => NULL,
- ),
- 'laravel/serializable-closure' =>
- array (
- 'pretty_version' => 'v1.3.3',
- 'version' => '1.3.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '3dbf8a8e914634c48d389c1234552666b3d43754',
- ),
- 'laravel/tinker' =>
- array (
- 'pretty_version' => 'v2.9.0',
- 'version' => '2.9.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '502e0fe3f0415d06d5db1f83a472f0f3b754bafe',
- ),
- 'laravel/ui' =>
- array (
- 'pretty_version' => 'v3.4.6',
- 'version' => '3.4.6.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '65ec5c03f7fee2c8ecae785795b829a15be48c2c',
- ),
- 'league/commonmark' =>
- array (
- 'pretty_version' => '2.4.2',
- 'version' => '2.4.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '91c24291965bd6d7c46c46a12ba7492f83b1cadf',
- ),
- 'league/config' =>
- array (
- 'pretty_version' => 'v1.2.0',
- 'version' => '1.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '754b3604fb2984c71f4af4a9cbe7b57f346ec1f3',
- ),
- 'league/event' =>
- array (
- 'pretty_version' => '2.2.0',
- 'version' => '2.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd2cc124cf9a3fab2bb4ff963307f60361ce4d119',
- ),
- 'league/flysystem' =>
- array (
- 'pretty_version' => '1.1.10',
- 'version' => '1.1.10.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '3239285c825c152bcc315fe0e87d6b55f5972ed1',
- ),
- 'league/mime-type-detection' =>
- array (
- 'pretty_version' => '1.15.0',
- 'version' => '1.15.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301',
- ),
- 'maatwebsite/excel' =>
- array (
- 'pretty_version' => '3.1.55',
- 'version' => '3.1.55.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6d9d791dcdb01a9b6fd6f48d46f0d5fff86e6260',
- ),
- 'maennchen/zipstream-php' =>
- array (
- 'pretty_version' => '2.2.6',
- 'version' => '2.2.6.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '30ad6f93cf3efe4192bc7a4c9cad11ff8f4f237f',
- ),
- 'markbaker/complex' =>
- array (
- 'pretty_version' => '3.0.2',
- 'version' => '3.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '95c56caa1cf5c766ad6d65b6344b807c1e8405b9',
- ),
- 'markbaker/matrix' =>
- array (
- 'pretty_version' => '3.0.1',
- 'version' => '3.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '728434227fe21be27ff6d86621a1b13107a2562c',
- ),
- 'mews/captcha' =>
- array (
- 'pretty_version' => '3.3.3',
- 'version' => '3.3.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e996a9a5638296de3e9dac41782dbdcf3d14ce11',
- ),
- 'mockery/mockery' =>
- array (
- 'pretty_version' => '1.6.11',
- 'version' => '1.6.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '81a161d0b135df89951abd52296adf97deb0723d',
- ),
- 'monolog/monolog' =>
- array (
- 'pretty_version' => '2.9.2',
- 'version' => '2.9.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '437cb3628f4cf6042cc10ae97fc2b8472e48ca1f',
- ),
- 'mtdowling/cron-expression' =>
- array (
- 'replaced' =>
- array (
- 0 => '^1.0',
- ),
- ),
- 'myclabs/php-enum' =>
- array (
- 'pretty_version' => '1.8.4',
- 'version' => '1.8.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a867478eae49c9f59ece437ae7f9506bfaa27483',
- ),
- 'nesbot/carbon' =>
- array (
- 'pretty_version' => '2.72.3',
- 'version' => '2.72.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0c6fd108360c562f6e4fd1dedb8233b423e91c83',
- ),
- 'nette/schema' =>
- array (
- 'pretty_version' => 'v1.2.5',
- 'version' => '1.2.5.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0462f0166e823aad657c9224d0f849ecac1ba10a',
- ),
- 'nette/utils' =>
- array (
- 'pretty_version' => 'v3.2.10',
- 'version' => '3.2.10.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a4175c62652f2300c8017fb7e640f9ccb11648d2',
- ),
- 'nikic/php-parser' =>
- array (
- 'pretty_version' => 'v5.0.2',
- 'version' => '5.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '139676794dc1e9231bf7bcd123cfc0c99182cb13',
- ),
- 'opis/closure' =>
- array (
- 'pretty_version' => '3.6.3',
- 'version' => '3.6.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '3d81e4309d2a927abbe66df935f4bb60082805ad',
- ),
- 'overtrue/laravel-lang' =>
- array (
- 'pretty_version' => '3.0.19',
- 'version' => '3.0.19.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fb6de57a454792833c96ffdcd4999c90468deb89',
- ),
- 'overtrue/laravel-query-logger' =>
- array (
- 'pretty_version' => '2.1.4',
- 'version' => '2.1.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '46b546aa2c4f6319ce798c8f8128b08718b32bae',
- ),
- 'phpoffice/phpspreadsheet' =>
- array (
- 'pretty_version' => '1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fde2ccf55eaef7e86021ff1acce26479160a0fa0',
- ),
- 'phpoption/phpoption' =>
- array (
- 'pretty_version' => '1.9.2',
- 'version' => '1.9.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '80735db690fe4fc5c76dfa7f9b770634285fa820',
- ),
- 'predis/predis' =>
- array (
- 'pretty_version' => 'v1.1.10',
- 'version' => '1.1.10.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a2fb02d738bedadcffdbb07efa3a5e7bd57f8d6e',
- ),
- 'psr/cache' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8',
- ),
- 'psr/cache-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0|2.0',
- ),
- ),
- 'psr/clock' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e41a24703d4560fd0acb709162f73b8adfc3aa0d',
- ),
- 'psr/clock-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/container' =>
- array (
- 'pretty_version' => '1.1.2',
- 'version' => '1.1.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
- ),
- 'psr/container-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/event-dispatcher' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0',
- ),
- 'psr/event-dispatcher-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/http-client' =>
- array (
- 'pretty_version' => '1.0.3',
- 'version' => '1.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90',
- ),
- 'psr/http-client-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/http-factory' =>
- array (
- 'pretty_version' => '1.0.2',
- 'version' => '1.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e616d01114759c4c489f93b099585439f795fe35',
- ),
- 'psr/http-factory-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/http-message' =>
- array (
- 'pretty_version' => '1.1',
- 'version' => '1.1.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba',
- ),
- 'psr/http-message-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/log' =>
- array (
- 'pretty_version' => '1.1.4',
- 'version' => '1.1.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',
- ),
- 'psr/log-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0.0 || 2.0.0 || 3.0.0',
- 1 => '1.0|2.0',
- ),
- ),
- 'psr/simple-cache' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
- ),
- 'psr/simple-cache-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- 1 => '1.0|2.0',
- ),
- ),
- 'psy/psysh' =>
- array (
- 'pretty_version' => 'v0.12.2',
- 'version' => '0.12.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9185c66c2165bbf4d71de78a69dccf4974f9538d',
- ),
- 'ralouphie/getallheaders' =>
- array (
- 'pretty_version' => '3.0.3',
- 'version' => '3.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '120b605dfeb996808c31b6477290a714d356e822',
- ),
- 'ramsey/collection' =>
- array (
- 'pretty_version' => '1.3.0',
- 'version' => '1.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ad7475d1c9e70b190ecffc58f2d989416af339b4',
- ),
- 'ramsey/uuid' =>
- array (
- 'pretty_version' => '4.2.3',
- 'version' => '4.2.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df',
- ),
- 'rhumsaa/uuid' =>
- array (
- 'replaced' =>
- array (
- 0 => '4.2.3',
- ),
- ),
- 'simplesoftwareio/simple-qrcode' =>
- array (
- 'pretty_version' => '2.0.0',
- 'version' => '2.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '90b2282dd29be1e52565e9832dc23af41610ea07',
- ),
- 'spatie/laravel-permission' =>
- array (
- 'pretty_version' => '5.11.1',
- 'version' => '5.11.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '7090824cca57e693b880ce3aaf7ef78362e28bbd',
- ),
- 'swiftmailer/swiftmailer' =>
- array (
- 'pretty_version' => 'v6.3.0',
- 'version' => '6.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8a5d5072dca8f48460fce2f4131fcc495eec654c',
- ),
- 'symfony/cache' =>
- array (
- 'pretty_version' => 'v5.4.36',
- 'version' => '5.4.36.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a30f316214d908cf5874f700f3f3fb29ceee91ba',
- ),
- 'symfony/cache-contracts' =>
- array (
- 'pretty_version' => 'v2.5.2',
- 'version' => '2.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '64be4a7acb83b6f2bf6de9a02cee6dad41277ebc',
- ),
- 'symfony/cache-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0|2.0',
- ),
- ),
- 'symfony/console' =>
- array (
- 'pretty_version' => 'v5.4.36',
- 'version' => '5.4.36.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e',
- ),
- 'symfony/css-selector' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9e615d367e2bed41f633abb383948c96a2dbbfae',
- ),
- 'symfony/deprecation-contracts' =>
- array (
- 'pretty_version' => 'v2.5.2',
- 'version' => '2.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66',
- ),
- 'symfony/error-handler' =>
- array (
- 'pretty_version' => 'v5.4.36',
- 'version' => '5.4.36.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '90b1d7799bfc1b3ed5f902e8b334eeb7dba537a1',
- ),
- 'symfony/event-dispatcher' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '7a69a85c7ea5bdd1e875806a99c51a87d3a74b38',
- ),
- 'symfony/event-dispatcher-contracts' =>
- array (
- 'pretty_version' => 'v2.5.2',
- 'version' => '2.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f98b54df6ad059855739db6fcbc2d36995283fe1',
- ),
- 'symfony/event-dispatcher-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '2.0',
- ),
- ),
- 'symfony/expression-language' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd59441c10a5a73cd9d4d778b8253595a16f6716d',
- ),
- 'symfony/finder' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'abe6d6f77d9465fed3cd2d029b29d03b56b56435',
- ),
- 'symfony/http-foundation' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f2ab692a22aef1cd54beb893aa0068bdfb093928',
- ),
- 'symfony/http-kernel' =>
- array (
- 'pretty_version' => 'v5.4.37',
- 'version' => '5.4.37.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4ef7ed872564852b3c6c15fecf492975a52cbff3',
- ),
- 'symfony/mime' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ee94d9b538f93abbbc1ee4ccff374593117b04a9',
- ),
- 'symfony/polyfill-ctype' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ef4d7e442ca910c4764bce785146269b30cb5fc4',
- ),
- 'symfony/polyfill-iconv' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f',
- ),
- 'symfony/polyfill-intl-grapheme' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '32a9da87d7b3245e09ac426c83d334ae9f06f80f',
- ),
- 'symfony/polyfill-intl-idn' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a287ed7475f85bf6f61890146edbc932c0fff919',
- ),
- 'symfony/polyfill-intl-normalizer' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bc45c394692b948b4d383a08d7753968bed9a83d',
- ),
- 'symfony/polyfill-mbstring' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9773676c8a1bb1f8d4340a62efe641cf76eda7ec',
- ),
- 'symfony/polyfill-php72' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '861391a8da9a04cbad2d232ddd9e4893220d6e25',
- ),
- 'symfony/polyfill-php73' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '21bd091060673a1177ae842c0ef8fe30893114d2',
- ),
- 'symfony/polyfill-php80' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '87b68208d5c1188808dd7839ee1e6c8ec3b02f1b',
- ),
- 'symfony/polyfill-php81' =>
- array (
- 'pretty_version' => 'v1.29.0',
- 'version' => '1.29.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c565ad1e63f30e7477fc40738343c62b40bc672d',
- ),
- 'symfony/process' =>
- array (
- 'pretty_version' => 'v5.4.36',
- 'version' => '5.4.36.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4fdf34004f149cc20b2f51d7d119aa500caad975',
- ),
- 'symfony/routing' =>
- array (
- 'pretty_version' => 'v5.4.37',
- 'version' => '5.4.37.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '48ae43e443693ddb4e574f7c12f0d17ce287694e',
- ),
- 'symfony/service-contracts' =>
- array (
- 'pretty_version' => 'v2.5.2',
- 'version' => '2.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4b426aac47d6427cc1a1d0f7e2ac724627f5966c',
- ),
- 'symfony/string' =>
- array (
- 'pretty_version' => 'v5.4.36',
- 'version' => '5.4.36.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4e232c83622bd8cd32b794216aa29d0d266d353b',
- ),
- 'symfony/translation' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '77d7d1e46f52827585e65e6cd6f52a2542e59c72',
- ),
- 'symfony/translation-contracts' =>
- array (
- 'pretty_version' => 'v2.5.2',
- 'version' => '2.5.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '136b19dd05cdf0709db6537d058bcab6dd6e2dbe',
- ),
- 'symfony/translation-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '2.3',
- ),
- ),
- 'symfony/var-dumper' =>
- array (
- 'pretty_version' => 'v5.4.36',
- 'version' => '5.4.36.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '2e9c2b11267119d9c90d6b3fdce5e4e9f15e2e90',
- ),
- 'symfony/var-exporter' =>
- array (
- 'pretty_version' => 'v5.4.35',
- 'version' => '5.4.35.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'abb0a151b62d6b07e816487e20040464af96cae7',
- ),
- 'tijsverkoyen/css-to-inline-styles' =>
- array (
- 'pretty_version' => 'v2.2.7',
- 'version' => '2.2.7.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '83ee6f38df0a63106a9e4536e3060458b74ccedb',
- ),
- 'vlucas/phpdotenv' =>
- array (
- 'pretty_version' => 'v5.6.0',
- 'version' => '5.6.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4',
- ),
- 'voku/portable-ascii' =>
- array (
- 'pretty_version' => '1.6.1',
- 'version' => '1.6.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '87337c91b9dfacee02452244ee14ab3c43bc485a',
- ),
- 'webmozart/assert' =>
- array (
- 'pretty_version' => '1.11.0',
- 'version' => '1.11.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991',
- ),
- ),
- );
- 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;
- }
- }
|