Skip to content

Instantly share code, notes, and snippets.

View posixpascal's full-sized avatar
💭
All your bases are belong to us

Pascal posixpascal

💭
All your bases are belong to us
View GitHub Profile
@yebt
yebt / get_composer_deps.py
Last active December 17, 2023 15:47
This script was created as an helps to recover the require dependencies inside vendor directory of project, if you lost the main composer.json
#!/bin/python
# -*- coding: utf-8 -*-
import json
import sys
# Constant vars
if len(sys.argv) != 2:
print('Error!! -- No file specified ')
print('\t get_composer_deps.py <path/to/vendor/composer/installed.json>')