SmartHome-PHP
SmartHome-PHP copied to clipboard
SmartHome-PHP
That's a library for SmartHomes. Written in PHP.
Supported SmartHomes
Installation (Normal way)
-
Download GIT
Debian/Ubuntu:
apt-get install git-core
Windows: http://msysgit.github.io/ -
Download composer
$ php -r "readfile('https://getcomposer.org/installer');" | php
-
Install a new project
$ php composer.phar create-project bubelbub/smarthome-php directory_path/
-
Copy example file to your current directory
Debian/Ubuntu:
cp "vendor/bubelbub/smarthome-php/Bubelbub/SmartHomePHP/example.php" .
Windows:copy "vendor\bubelbub\smarthome-php\Bubelbub\SmartHomePHP\example.php" .
-
Have fun!
Installation (Old way / Repository way)
-
Download GIT
Debian/Ubuntu:
apt-get install git-core
Windows: http://msysgit.github.io/ -
Clone the project
$ git clone https://github.com/Bubelbub/SmartHome-PHP.git
-
Go into the directory
$ cd SmartHome-PHP
-
Download composer
$ php -r "readfile('https://getcomposer.org/installer');" | php
-
"Install" the repository
$ php composer.phar install
-
Have fun!
License
SmartHome-PHP is licensed under a MIT License.