Delford Chaffin
Delford Chaffin

Reputation: 623

composer require consolibyte/quickbooks-php

I'm trying to use https://github.com/consolibyte/quickbooks-php in a Drupal 8 project. I think I've followed composer ways of adding it:

composer config repositories.quickbooks-php vcs https://github.com/consolibyte/quickbooks-php
composer require "consolibyte/quickbooks-php master"

But the 2nd command returns "Could not find package consolibyte/quickbooks-php".

Any ideas what I'm doing wrong?

Upvotes: 0

Views: 270

Answers (1)

rob006
rob006

Reputation: 22174

You're using incorrect package name - real package name is defined in composer.json of this package and it is consolibyte/quickbooks instead of consolibyte/quickbooks-php.

composer require "consolibyte/quickbooks:dev-master"

Also this package is registered at Packagist, so you don't need to add repository for it. See https://packagist.org/packages/consolibyte/quickbooks

Upvotes: 1

Related Questions