Skip to content

Latest commit

 

History

History
59 lines (32 loc) · 1.38 KB

README.md

File metadata and controls

59 lines (32 loc) · 1.38 KB

SmartHome-PHP


That's a library for SmartHomes. Written in PHP.

Supported SmartHomes

Installation (Normal way)

  1. Download GIT

    Debian/Ubuntu: apt-get install git-core Windows: http://msysgit.github.io/

  2. Download composer

     $ php -r "readfile('https://getcomposer.org/installer');" | php
    
  3. Install a new project

     $ php composer.phar create-project bubelbub/smarthome-php directory_path/
    
  4. 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" .

  5. Have fun!

Installation (Old way / Repository way)

  1. Download GIT

    Debian/Ubuntu: apt-get install git-core Windows: http://msysgit.github.io/

  2. Clone the project

     $ git clone https://github.com/Bubelbub/SmartHome-PHP.git
    
  3. Go into the directory

     $ cd SmartHome-PHP
    
  4. Download composer

     $ php -r "readfile('https://getcomposer.org/installer');" | php
    
  5. "Install" the repository

     $ php composer.phar install
    
  6. Have fun!

License

SmartHome-PHP is licensed under a MIT License.