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 in the world do I install this with composer? #3

Open
imgidedin opened this issue Apr 11, 2017 · 3 comments
Open

How in the world do I install this with composer? #3

imgidedin opened this issue Apr 11, 2017 · 3 comments

Comments

@imgidedin
Copy link

I tried everything I could... I always get this message: - The requested package phppowertools/dom-query could not be found in any version, there may be a typo in the package name.

If you wondering my composer.json:

{ 
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/PHPPowertools/DOM-Query"
    }
  ],
"require": {
    "PHPPowertools/DOM-Query": "dev-master"
  }
} 
@jslegers
Copy link
Member

In Composer, the project is known as powertools/dom-query.

@imgidedin
Copy link
Author

imgidedin commented Apr 11, 2017

You could add this to your home page, under a installation guide to prevent this same problem for other people.

Took me way too long to find it out. I had to try to install it from the fork that a guy did for the composer to tell me the HTML dependencies.

But, at the end, it didn't even worked. Something related to the autoload I guess? On my project, I couldn't managed to get it working using namespace.

{ 
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/PHPPowertools/DOM-Query.git"
        }
    ],
    "require": {
        "powertools/dom-query": "dev-master"
    }
} 

@Luc45
Copy link

Luc45 commented Oct 23, 2017

Thanks for taking your time for making this open-source project. However, I'm also struggling to install this, what do you think of a quick-start guide?

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