array ( 'pretty_version' => '1.0.0+no-version-set', 'version' => '1.0.0.0', 'aliases' => array ( ), 'reference' => NULL, 'name' => 'laravel/laravel', ), 'versions' => array ( 'beyondcode/laravel-dump-server' => array ( 'pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'aliases' => array ( ), 'reference' => 'fcc88fa66895f8c1ff83f6145a5eff5fa2a0739a', ), 'cordoval/hamcrest-php' => array ( 'replaced' => array ( 0 => '*', ), ), 'davedevelopment/hamcrest-php' => array ( 'replaced' => array ( 0 => '*', ), ), 'dnoegel/php-xdg-base-dir' => array ( 'pretty_version' => 'v0.1.1', 'version' => '0.1.1.0', 'aliases' => array ( ), 'reference' => '8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd', ), 'doctrine/inflector' => array ( 'pretty_version' => '1.4.4', 'version' => '1.4.4.0', 'aliases' => array ( ), 'reference' => '4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9', ), 'doctrine/instantiator' => array ( 'pretty_version' => '1.4.1', 'version' => '1.4.1.0', 'aliases' => array ( ), 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc', ), 'doctrine/lexer' => array ( 'pretty_version' => '1.2.3', 'version' => '1.2.3.0', 'aliases' => array ( ), 'reference' => 'c268e882d4dbdd85e36e4ad69e02dc284f89d229', ), 'dragonmantank/cron-expression' => array ( 'pretty_version' => 'v2.3.1', 'version' => '2.3.1.0', 'aliases' => array ( ), 'reference' => '65b2d8ee1f10915efb3b55597da3404f096acba2', ), 'egulias/email-validator' => array ( 'pretty_version' => '2.1.25', 'version' => '2.1.25.0', 'aliases' => array ( ), 'reference' => '0dbf5d78455d4d6a41d186da50adc1122ec066f4', ), 'erusev/parsedown' => array ( 'pretty_version' => '1.7.4', 'version' => '1.7.4.0', 'aliases' => array ( ), 'reference' => 'cb17b6477dfff935958ba01325f2e8a2bfa6dab3', ), 'fideloper/proxy' => array ( 'pretty_version' => '4.4.1', 'version' => '4.4.1.0', 'aliases' => array ( ), 'reference' => 'c073b2bd04d1c90e04dc1b787662b558dd65ade0', ), 'filp/whoops' => array ( 'pretty_version' => '2.14.5', 'version' => '2.14.5.0', 'aliases' => array ( ), 'reference' => 'a63e5e8f26ebbebf8ed3c5c691637325512eb0dc', ), 'fzaninotto/faker' => array ( 'pretty_version' => 'v1.9.2', 'version' => '1.9.2.0', 'aliases' => array ( ), 'reference' => '848d8125239d7dbf8ab25cb7f054f1a630e68c2e', ), 'hamcrest/hamcrest-php' => array ( 'pretty_version' => 'v2.0.1', 'version' => '2.0.1.0', 'aliases' => array ( ), 'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3', ), 'illuminate/auth' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/broadcasting' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/bus' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/cache' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/config' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/console' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/container' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/contracts' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/cookie' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/database' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/encryption' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/events' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/filesystem' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/hashing' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/http' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/log' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/mail' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/notifications' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/pagination' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/pipeline' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/queue' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/redis' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/routing' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/session' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/support' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/translation' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/validation' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'illuminate/view' => array ( 'replaced' => array ( 0 => 'v5.8.38', ), ), 'jakub-onderka/php-console-color' => array ( 'replaced' => array ( 0 => '*', ), ), 'jakub-onderka/php-console-highlighter' => array ( 'replaced' => array ( 0 => '*', ), ), 'kodova/hamcrest-php' => array ( 'replaced' => array ( 0 => '*', ), ), 'laravel/framework' => array ( 'pretty_version' => 'v5.8.38', 'version' => '5.8.38.0', 'aliases' => array ( ), 'reference' => '78eb4dabcc03e189620c16f436358d41d31ae11f', ), 'laravel/laravel' => array ( 'pretty_version' => '1.0.0+no-version-set', 'version' => '1.0.0.0', 'aliases' => array ( ), 'reference' => NULL, ), 'laravel/tinker' => array ( 'pretty_version' => 'v1.0.10', 'version' => '1.0.10.0', 'aliases' => array ( ), 'reference' => 'ad571aacbac1539c30d480908f9d0c9614eaf1a7', ), 'laravelchen/laravel-editormd' => array ( 'pretty_version' => '2.5.5', 'version' => '2.5.5.0', 'aliases' => array ( ), 'reference' => 'b3b25a063bef30f5af8f172ac137cb4bd7d3bca5', ), 'league/flysystem' => array ( 'pretty_version' => '1.1.9', 'version' => '1.1.9.0', 'aliases' => array ( ), 'reference' => '094defdb4a7001845300334e7c1ee2335925ef99', ), 'league/mime-type-detection' => array ( 'pretty_version' => '1.9.0', 'version' => '1.9.0.0', 'aliases' => array ( ), 'reference' => 'aa70e813a6ad3d1558fc927863d47309b4c23e69', ), 'mockery/mockery' => array ( 'pretty_version' => '1.3.5', 'version' => '1.3.5.0', 'aliases' => array ( ), 'reference' => '472fa8ca4e55483d55ee1e73c963718c4393791d', ), 'monolog/monolog' => array ( 'pretty_version' => '1.27.0', 'version' => '1.27.0.0', 'aliases' => array ( ), 'reference' => '52ebd235c1f7e0d5e1b16464b695a28335f8e44a', ), 'myclabs/deep-copy' => array ( 'pretty_version' => '1.11.0', 'version' => '1.11.0.0', 'aliases' => array ( ), 'reference' => '14daed4296fae74d9e3201d2c4925d1acb7aa614', ), 'myclabs/php-enum' => array ( 'pretty_version' => '1.6.6', 'version' => '1.6.6.0', 'aliases' => array ( ), 'reference' => '32c4202886c51fbe5cc3a7c34ec5c9a4a790345e', ), 'nesbot/carbon' => array ( 'pretty_version' => '2.57.0', 'version' => '2.57.0.0', 'aliases' => array ( ), 'reference' => '4a54375c21eea4811dbd1149fe6b246517554e78', ), 'nikic/php-parser' => array ( 'pretty_version' => 'v4.13.2', 'version' => '4.13.2.0', 'aliases' => array ( ), 'reference' => '210577fe3cf7badcc5814d99455df46564f3c077', ), 'nunomaduro/collision' => array ( 'pretty_version' => 'v3.2.0', 'version' => '3.2.0.0', 'aliases' => array ( ), 'reference' => 'f7c45764dfe4ba5f2618d265a6f1f9c72732e01d', ), 'opis/closure' => array ( 'pretty_version' => '3.6.3', 'version' => '3.6.3.0', 'aliases' => array ( ), 'reference' => '3d81e4309d2a927abbe66df935f4bb60082805ad', ), 'paragonie/random_compat' => array ( 'pretty_version' => 'v9.99.100', 'version' => '9.99.100.0', 'aliases' => array ( ), 'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a', ), 'phar-io/manifest' => array ( 'pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'aliases' => array ( ), 'reference' => '7761fcacf03b4d4f16e7ccb606d4879ca431fcf4', ), 'phar-io/version' => array ( 'pretty_version' => '2.0.1', 'version' => '2.0.1.0', 'aliases' => array ( ), 'reference' => '45a2ec53a73c70ce41d55cedef9063630abaf1b6', ), 'php-parallel-lint/php-console-color' => array ( 'pretty_version' => 'v0.3', 'version' => '0.3.0.0', 'aliases' => array ( ), 'reference' => 'b6af326b2088f1ad3b264696c9fd590ec395b49e', ), 'php-parallel-lint/php-console-highlighter' => array ( 'pretty_version' => 'v0.5', 'version' => '0.5.0.0', 'aliases' => array ( ), 'reference' => '21bf002f077b177f056d8cb455c5ed573adfdbb8', ), 'phpdocumentor/reflection-common' => array ( 'pretty_version' => '2.2.0', 'version' => '2.2.0.0', 'aliases' => array ( ), 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b', ), 'phpdocumentor/reflection-docblock' => array ( 'pretty_version' => '5.3.0', 'version' => '5.3.0.0', 'aliases' => array ( ), 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170', ), 'phpdocumentor/type-resolver' => array ( 'pretty_version' => '1.6.0', 'version' => '1.6.0.0', 'aliases' => array ( ), 'reference' => '93ebd0014cab80c4ea9f5e297ea48672f1b87706', ), 'phpoption/phpoption' => array ( 'pretty_version' => '1.8.1', 'version' => '1.8.1.0', 'aliases' => array ( ), 'reference' => 'eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15', ), 'phpspec/prophecy' => array ( 'pretty_version' => 'v1.15.0', 'version' => '1.15.0.0', 'aliases' => array ( ), 'reference' => 'bbcd7380b0ebf3961ee21409db7b38bc31d69a13', ), 'phpunit/php-code-coverage' => array ( 'pretty_version' => '6.1.4', 'version' => '6.1.4.0', 'aliases' => array ( ), 'reference' => '807e6013b00af69b6c5d9ceb4282d0393dbb9d8d', ), 'phpunit/php-file-iterator' => array ( 'pretty_version' => '2.0.5', 'version' => '2.0.5.0', 'aliases' => array ( ), 'reference' => '42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5', ), 'phpunit/php-text-template' => array ( 'pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'aliases' => array ( ), 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686', ), 'phpunit/php-timer' => array ( 'pretty_version' => '2.1.3', 'version' => '2.1.3.0', 'aliases' => array ( ), 'reference' => '2454ae1765516d20c4ffe103d85a58a9a3bd5662', ), 'phpunit/php-token-stream' => array ( 'pretty_version' => '3.1.3', 'version' => '3.1.3.0', 'aliases' => array ( ), 'reference' => '9c1da83261628cb24b6a6df371b6e312b3954768', ), 'phpunit/phpunit' => array ( 'pretty_version' => '7.5.20', 'version' => '7.5.20.0', 'aliases' => array ( ), 'reference' => '9467db479d1b0487c99733bb1e7944d32deded2c', ), 'psr/container' => array ( 'pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'aliases' => array ( ), 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', ), 'psr/event-dispatcher-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', 1 => '1.0|2.0', ), ), 'psr/simple-cache' => array ( 'pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'aliases' => array ( ), 'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b', ), 'psy/psysh' => array ( 'pretty_version' => 'v0.9.12', 'version' => '0.9.12.0', 'aliases' => array ( ), 'reference' => '90da7f37568aee36b116a030c5f99c915267edd4', ), 'qiniu/php-sdk' => array ( 'pretty_version' => 'v7.4.2', 'version' => '7.4.2.0', 'aliases' => array ( ), 'reference' => '8414ee6b0027acc682469c7a2e7144f3ed2b7676', ), 'ramsey/uuid' => array ( 'pretty_version' => '3.9.6', 'version' => '3.9.6.0', 'aliases' => array ( ), 'reference' => 'ffa80ab953edd85d5b6c004f96181a538aad35a3', ), 'rhumsaa/uuid' => array ( 'replaced' => array ( 0 => '3.9.6', ), ), 'sebastian/code-unit-reverse-lookup' => array ( 'pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'aliases' => array ( ), 'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619', ), 'sebastian/comparator' => array ( 'pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'aliases' => array ( ), 'reference' => '1071dfcef776a57013124ff35e1fc41ccd294758', ), 'sebastian/diff' => array ( 'pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'aliases' => array ( ), 'reference' => '14f72dd46eaf2f2293cbe79c93cc0bc43161a211', ), 'sebastian/environment' => array ( 'pretty_version' => '4.2.4', 'version' => '4.2.4.0', 'aliases' => array ( ), 'reference' => 'd47bbbad83711771f167c72d4e3f25f7fcc1f8b0', ), 'sebastian/exporter' => array ( 'pretty_version' => '3.1.4', 'version' => '3.1.4.0', 'aliases' => array ( ), 'reference' => '0c32ea2e40dbf59de29f3b49bf375176ce7dd8db', ), 'sebastian/global-state' => array ( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'aliases' => array ( ), 'reference' => 'e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4', ), 'sebastian/object-enumerator' => array ( 'pretty_version' => '3.0.4', 'version' => '3.0.4.0', 'aliases' => array ( ), 'reference' => 'e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2', ), 'sebastian/object-reflector' => array ( 'pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'aliases' => array ( ), 'reference' => '9b8772b9cbd456ab45d4a598d2dd1a1bced6363d', ), 'sebastian/recursion-context' => array ( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', 'aliases' => array ( ), 'reference' => '367dcba38d6e1977be014dc4b22f47a484dac7fb', ), 'sebastian/resource-operations' => array ( 'pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'aliases' => array ( ), 'reference' => '31d35ca87926450c44eae7e2611d45a7a65ea8b3', ), 'sebastian/version' => array ( 'pretty_version' => '2.0.1', 'version' => '2.0.1.0', 'aliases' => array ( ), 'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019', ), 'swiftmailer/swiftmailer' => array ( 'pretty_version' => 'v6.3.0', 'version' => '6.3.0.0', 'aliases' => array ( ), 'reference' => '8a5d5072dca8f48460fce2f4131fcc495eec654c', ), 'symfony/console' => array ( 'pretty_version' => 'v4.4.38', 'version' => '4.4.38.0', 'aliases' => array ( ), 'reference' => '5a50085bf5460f0c0d60a50b58388c1249826b8a', ), 'symfony/css-selector' => array ( 'pretty_version' => 'v5.4.3', 'version' => '5.4.3.0', 'aliases' => array ( ), 'reference' => 'b0a190285cd95cb019237851205b8140ef6e368e', ), 'symfony/debug' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => '5de6c6e7f52b364840e53851c126be4d71e60470', ), 'symfony/deprecation-contracts' => array ( 'pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'aliases' => array ( ), 'reference' => '6f981ee24cf69ee7ce9736146d1c57c2780598a8', ), 'symfony/error-handler' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => '8d80ad881e1ce17979547873d093e3c987a6a629', ), 'symfony/event-dispatcher' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => '3ccfcfb96ecce1217d7b0875a0736976bc6e63dc', ), 'symfony/event-dispatcher-contracts' => array ( 'pretty_version' => 'v1.1.11', 'version' => '1.1.11.0', 'aliases' => array ( ), 'reference' => '01e9a4efac0ee33a05dfdf93b346f62e7d0e998c', ), 'symfony/event-dispatcher-implementation' => array ( 'provided' => array ( 0 => '1.1', ), ), 'symfony/finder' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => 'b17d76d7ed179f017aad646e858c90a2771af15d', ), 'symfony/http-client-contracts' => array ( 'pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'aliases' => array ( ), 'reference' => 'ec82e57b5b714dbb69300d348bd840b345e24166', ), 'symfony/http-foundation' => array ( 'pretty_version' => 'v4.4.39', 'version' => '4.4.39.0', 'aliases' => array ( ), 'reference' => '60e8e42a4579551e5ec887d04380e2ab9e4cc314', ), 'symfony/http-kernel' => array ( 'pretty_version' => 'v4.4.39', 'version' => '4.4.39.0', 'aliases' => array ( ), 'reference' => '19d1cacefe81cb448227cc4d5909fb36e2e23081', ), 'symfony/mime' => array ( 'pretty_version' => 'v5.4.3', 'version' => '5.4.3.0', 'aliases' => array ( ), 'reference' => 'e1503cfb5c9a225350f549d3bb99296f4abfb80f', ), 'symfony/polyfill-ctype' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => '30885182c981ab175d4d034db0f6f469898070ab', ), 'symfony/polyfill-iconv' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => 'f1aed619e28cb077fc83fac8c4c0383578356e40', ), 'symfony/polyfill-intl-idn' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => '749045c69efb97c70d25d7463abba812e91f3a44', ), 'symfony/polyfill-intl-normalizer' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', ), 'symfony/polyfill-mbstring' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => '0abb51d2f102e00a4eefcf46ba7fec406d245825', ), 'symfony/polyfill-php72' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => '9a142215a36a3888e30d0a9eeea9766764e96976', ), 'symfony/polyfill-php73' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => 'cc5db0e22b3cb4111010e48785a97f670b350ca5', ), 'symfony/polyfill-php80' => array ( 'pretty_version' => 'v1.25.0', 'version' => '1.25.0.0', 'aliases' => array ( ), 'reference' => '4407588e0d3f1f52efb65fbe92babe41f37fe50c', ), 'symfony/process' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => 'b2d924e5a4cb284f293d5092b1dbf0d364cb8b67', ), 'symfony/routing' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => '324f7f73b89cd30012575119430ccfb1dfbc24be', ), 'symfony/service-contracts' => array ( 'pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'aliases' => array ( ), 'reference' => '1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc', ), 'symfony/translation' => array ( 'pretty_version' => 'v4.4.37', 'version' => '4.4.37.0', 'aliases' => array ( ), 'reference' => '4ce00d6875230b839f5feef82e51971f6c886e00', ), 'symfony/translation-contracts' => array ( 'pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'aliases' => array ( ), 'reference' => 'd28150f0f44ce854e942b671fc2620a98aae1b1e', ), 'symfony/translation-implementation' => array ( 'provided' => array ( 0 => '1.0|2.0', ), ), 'symfony/var-dumper' => array ( 'pretty_version' => 'v4.4.39', 'version' => '4.4.39.0', 'aliases' => array ( ), 'reference' => '35237c5e5dcb6593a46a860ba5b29c1d4683d80e', ), 'theseer/tokenizer' => array ( 'pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'aliases' => array ( ), 'reference' => '34a41e998c2183e22995f158c581e7b5e755ab9e', ), 'tijsverkoyen/css-to-inline-styles' => array ( 'pretty_version' => '2.2.4', 'version' => '2.2.4.0', 'aliases' => array ( ), 'reference' => 'da444caae6aca7a19c0c140f68c6182e337d5b1c', ), 'vlucas/phpdotenv' => array ( 'pretty_version' => 'v3.6.10', 'version' => '3.6.10.0', 'aliases' => array ( ), 'reference' => '5b547cdb25825f10251370f57ba5d9d924e6f68e', ), 'webmozart/assert' => array ( 'pretty_version' => '1.10.0', 'version' => '1.10.0.0', 'aliases' => array ( ), 'reference' => '6964c76c7804814a842473e0c8fd15bab0f18e25', ), 'zgldh/qiniu-laravel-storage' => array ( 'pretty_version' => 'v0.7.0', 'version' => '0.7.0.0', 'aliases' => array ( ), 'reference' => '1651af398c46e994df4179cfa41bf80cb025e7e0', ), ), ); public static function getInstalledPackages() { return array_keys(self::$installed['versions']); } public static function isInstalled($packageName) { return isset(self::$installed['versions'][$packageName]); } 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) { if (!isset(self::$installed['versions'][$packageName])) { throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); } $ranges = array(); if (isset(self::$installed['versions'][$packageName]['pretty_version'])) { $ranges[] = self::$installed['versions'][$packageName]['pretty_version']; } if (array_key_exists('aliases', self::$installed['versions'][$packageName])) { $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']); } if (array_key_exists('replaced', self::$installed['versions'][$packageName])) { $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']); } if (array_key_exists('provided', self::$installed['versions'][$packageName])) { $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']); } return implode(' || ', $ranges); } public static function getVersion($packageName) { if (!isset(self::$installed['versions'][$packageName])) { throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); } if (!isset(self::$installed['versions'][$packageName]['version'])) { return null; } return self::$installed['versions'][$packageName]['version']; } public static function getPrettyVersion($packageName) { if (!isset(self::$installed['versions'][$packageName])) { throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); } if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { return null; } return self::$installed['versions'][$packageName]['pretty_version']; } public static function getReference($packageName) { if (!isset(self::$installed['versions'][$packageName])) { throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); } if (!isset(self::$installed['versions'][$packageName]['reference'])) { return null; } return self::$installed['versions'][$packageName]['reference']; } public static function getRootPackage() { return self::$installed['root']; } public static function getRawData() { return self::$installed; } public static function reload($data) { self::$installed = $data; } }