Skip to content
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

How to use the library without installing with composer? #504

Closed
ghost opened this issue Apr 13, 2018 · 3 comments
Closed

How to use the library without installing with composer? #504

ghost opened this issue Apr 13, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 13, 2018

No description provided.

@erayd
Copy link
Contributor

erayd commented Apr 13, 2018

@rumanpasha This library is intended to be installed using composer. Using it without composer is not a supported configuration.

If you wish to use it anyway, you will need to manually install the dependencies, and provide a suitable autoloader.

@shmax
Copy link
Collaborator

shmax commented Apr 13, 2018

You don't need to use composer for this or any other package. Given that we know nothing about your restrictions, technology stack, or server permissions here are a few random ideas:

  1. Sloppy approach: download the code, unzip it into a folder in your project. Update your include_path accordingly
  2. If you're using git, you can learn about submodules
  3. If what you object to is packagist and not composer itself, you can retrieve the code directly from github. Google around for it (eg. http://tech.osteel.me/posts/2015/08/10/how-to-use-the-fork-of-a-repository-with-composer.html)

As @eryad says you may or may not need to adjust your autoloader. If you have a fairly robust default loader it may be enough to just refer to the various classes via their namespaces.

@DannyvdSluijs
Copy link
Collaborator

@erayd this one can be closed directly as the issue reporter is now a ghost user (deleted profile)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants