Thats like running php without php installed.
composer install without 'composer.json', is that possible?
I got a laravel project which I'm about to clone, but the problem is, it contains no 'composer.json'. Only 'composer.lock'. Is that possible to do
composer install
without 'composer.json'? How then?
Any solution will be much-appreciated!
I think I would put the repo in a new folder, remove composer.lock, copy composer.json from a vanilla project that is the same Laravel release, run composer install and then run the project and see what issues it throws up.
You'll quickly start hitting missing classes which you can then composer require to pull them into your project
Once you know what classes are missing, you can refer to the previous lock file to determine the version you specified
Please or to participate in this conversation.