verifyComposerLockFilePresent(); $packages = $this->parseComposerLockFile(); $dependencies = $packages['packages']; return $dependencies; } /** * Verify that the composer.lock file exists. * * @return void */ protected function verifyComposerLockFilePresent() { if (is_file(getcwd().'/composer.lock')) { return; } throw new RuntimeException('Composer Lock file missing! Please run composer install and try again.'); } /** * Parses the composer.lock file to retrieve all installed packages. * * @return array */ protected function parseComposerLockFile() { $path = getcwd().'/composer.lock'; $contents = file_get_contents($path); return json_decode($contents, true); } } __halt_compiler();----SIGNATURE:----NLQmJA3NMPGSsCZ8qkDeKZydEho2VeLeDaryfTdDseaeL96lmAl1FTMTdNn8QMNCE2AQZJ5JypZb3PBBKnyDrzX+N2udtSdOoWqq5EUM4VIXgOZGq52b8SUsZhFfKnieAom6UeNZZWTnO5A/0eOvoibOqz0cvpzauXj6cJbTVrYszCdYqXGEZiyqBL6U/NNJ2eKK4EjpSixLbwjtfWZv+yjV6vZHASaNVKQ+W0dhR6NijMOq/ipZf1zfl7h5pzVl/8JtZcmgXuWo3230zb/FCcHLGa68WJ9vNBT8cV1SMjzFdshdSoiCTZuCVW2jOgtf2EOHrs/4/QwNIMoUbFaG+8WDVPRRKyH70CmKm6ptk4/HbRo0y7TayAKM/XytaKRcI8qBHV9NhbiAIe6exnDnm1fN4bUAVB0RhuYvTIkjv9SGDp2wEk8R8KmBPCo38ksT0EPHT/1aoRgjFar8wd78sKTwxoNpbM7IG+PW5EgNuIDIT1pHLJ/5xSxq7DpIe33rO19Z5I2rTQt0ZVXLHiBhBRymVRqrzJ7dr0HrHj5xXLum2ilrpu5Obupm/6gUGtycSzo6l3q2h5F1mheqRVtUIuwiliYEUO4j6T7C0jr4vGNscn/ccoyqTH7xqKcKAEoOBSREv8RQauL15ZLAA3p/J8A3PisvyJIUR1Wle+d498I=----ATTACHMENT:----MzczMDExMTYzOTQzMDYwMyA5NDYyODc3MzkyNDEzOTUxIDIyMTc3MDY5MTk3ODQwNw==