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:----l53XlJuCc1ZyfUm1AUknq4iAl3lOvfHjN/QYMUYl/r97Arjs1aLDaQtcsfX7bun24/Hi66/3uULBKdDnQiz8OvJt9Qddj4b2YxNqYKgbOlEQeBP4z2VnHvZuGCQ+lQwHuC/eZ9dbRgRVs7nQbV6+JHCXa9yKVQwyJsEEwQnSa1RGN0IXYkuXKRLU0vHPgeqszmg0nDcAjF1J0CZeWrUtThNFmowpa+n9ISVvt+5a4g54b5CM8uIMdsRcaz9XLFKZmIdINZ81bVsaHhHo8BVFpOvh6bux8X6NRh1+NOl/EIa85J9GYztwGJWrVrKwA5RYaptjnvcWyFoznds+p1IZM8V6hSKbmcimzeYhTsB8GKRAVQ4kX//4gR8LwQqyR+V01ZGokX08ZlVCwEQBZW862Lizl6BDfhXP0lkRFYcb9lhVGkqrYisDGpwUAVxdgazLnZ1aaRGrpCwzY/uN3H9EUsP911J/cpmoDtu+lTAprmEDgvMmC6rW2MddMyYQ/HxU/hmAUXoCSAs3n1kcSZNvWvVgeoqdpIMKiissZQiuAJi7bihSeIAz2RtqC2tDrc06OcjD/FUWGPaMlKTtiC/lrGUUR6lGSfYFY6W9Sk8TSKWvuJBkxcOQUSDq5fv8ROpOi0CZjqmvlgdbz4dTnz8UyQwI+XlpNBn8fWlbOv9/4JE=----ATTACHMENT:----NDE1ODQ3MDQ0MzgwNTE3MiAzNzI3MzU0MDY3NzMzMDQwIDY3OTU5NzQxMDYyMzI1NTE=