ronanguilloux / php-gpio

A PHP library to play with the Raspberry PI's GPIO pins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"git was not found" when installing from composer

ronanguilloux opened this issue · comments

(received from David P., I write it back here in case it serves to others users )

I have tried to install the php gpio library and I seem to be running into a problem. Please forgive me, I am a beginner. I'm sure I'm missing something very fundamental :)

Following instructions at https://github.com/ronanguilloux/php-gpio

When I try to execute

php composer.phar create-project --stability='dev' ronanguilloux/php-gpio intoYourPath

I get an error

[RuntimeException]
Failed to clone http://github.com/ronanguilloux/php-gpio.git, git was not found, check that it
is installed and in your PATH env.

sh: 1: git: not found
I also get errors in my PHP when I try to