ThingEngineer / PHP-MySQLi-Database-Class

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.
Other
3.29k stars 1.35k forks source link

dev-master branch is gone, composer install error #952

Closed burgoyn1 closed 3 years ago

burgoyn1 commented 3 years ago

The dev-master branch has been removed from this repository, breaking composer updates/installs.

composer require thingengineer/mysqli-database-class:dev-master

Running the command results in the following error:

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 updates, 0 removals
  - Installing thingengineer/mysqli-database-class (dev-master 16564ba): Cloning 16564ba071
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+197611d91d93+2021-02-11+1824
to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer.
Token (hidden):
No token given, aborting.
You can also add it manually later by using "composer config --global --auth github-oauth.github.com <token>"
    Install of thingengineer/mysqli-database-class failed

[RuntimeException]
  Failed to clone https://github.com/ThingEngineer/PHP-MySQLi-Database-Class.git, git was not found, check that it is installed and in your PATH env.

  sh: 1: git: not found

Running this anywhere using composer causes the same error. Providing an access token also does not work. I noticed the branch is also missing from the project. Anyone else have this problem?