-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate and add instructions for using without composer #165
Comments
I'm looking into this |
So upon spending some time behind it, I feel like we should not try to use it without composer as resolving the dependency manually is a real pain. Here is my current library inclusion looks like
And it's not working due to following error:
While I believe we can fix the above error (just need to read some more docs/codes) but it's already going insane. It's due to our library's dependency on pluggable http library. |
So, finally got it working. The require'ing still looks insane.
if you still believe we should have instructions to use it, i'll probably write a bash script to download all these repo (git or zip), extract so that they can just copy the |
Some ideas:
It's also worth looking at how other services handle this to see if we can learn anything from them. |
Yeah, that's what I implied. If we write the bash script to download all libs in a directory, then a giant php file will require them (as path is known, it'll work) and then user just requires that file. |
Other services tend to do things one of two ways:
|
Several users have asked for the ability to use the library without composer. One example would be for simple standalone scripts. We need to investigate what's involved and add docs/update code as necessary to address.
The text was updated successfully, but these errors were encountered: