Answer the question
In order to leave comments, you need to log in
A package manager for PHP that works directly from the application. Is there such a thing?
Continuing the theme of leaving the bicycle industry.
Interested in using some standard package manager called directly from a running PHP application.
To, say, unpack your application (or right away curl http://site.tld | gunzip ...
), optionally launch the built-in web server, go to the browser - and poke into the modules for installation in the admin panel. Which, in turn, are not installed by a bicycle, but from a normal package manager.
It immediately comes to mind exec("php composer.phar")
, but it's clumsy and not beautiful. Now, if composer had an API...
Has anyone come across a more elegant solution? Does anyone have any ideas on this subject? And then, after all, you have to do it through exec / composer.
Answer the question
In order to leave comments, you need to log in
If only composer had an API...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question