I've got a client on a shared hosting environment (which I can't change) and I'm needing to install the Parse PHP SDK, but the host won't allow me to install the Composer package manager. Does anyone else know of a manual install method?
-
Do you talk about this package? Also, do you have git available? If not, wget/unzip? If not, what possibilities do you have?Tomas Votruba– Tomas Votruba2015-07-06 22:02:12 +00:00Commented Jul 6, 2015 at 22:02
-
Yes, I'm talking about that package. I do have wget/unzip.johngeek– johngeek2015-07-06 22:07:17 +00:00Commented Jul 6, 2015 at 22:07
Add a comment
|
2 Answers
If you have wget/unzip available, just download latest release zip (bellow the release, this file).
Use unzip to unpack package and load it with PSR-4 autoloading (the composer's approach).
Comments
Composer isn't meant to be an installer, so you are not expected to run Composer on the production machine. What would happen if during your update process Github would be down? No new website version! And maybe also no old version.
Run Composer somewhere else, and then upload the result to the server, after you verified that everything went well.