2017 © Pedro Peláez
 

library smartthings

image

netalico/smartthings

  • Sunday, June 15, 2014
  • by netalico
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2 Installations
  • Groovy
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Smartthings PHP

Smartthings PHP is a library for interfacing with the SmartThings home automation system through PHP., (*1)

Installation

Install with composer. Open your composer.json file and add the following to the require array:, (*2)

"netalico/smartthings": "dev-master"

Install the dependencies

Run Composer to install or update the new requirement., (*3)

php composer install

or, (*4)

php composer update

Now you are able to require the vendor/autoload.php file to autoload the package., (*5)

Laravel 4 Integration

After you have installed the package, just follow the instructions., (*6)

Smartthings PHP has optional support for Laravel 4 and it comes bundled with a Service Provider and a Facade for easy integration., (*7)

After installing the package, open your Laravel config file app/config/app.php and add the following lines., (*8)

In the $providers array add the following service provider for this package., (*9)

'Netalico\Smartthings\SmartthingsServiceProvider'

Configuration

After installing, you can publish the package configuration file into your application by running the following command:, (*10)

php artisan config:publish netalico/smartthings

This will publish the config file to app/config/packages/netalico/smartthings/config.php where you can modify the package configuration., (*11)

Usage

This package provides a few basic methods for setting up the Oauth authentication with SmartThings and toggling switches and locks., (*12)

The Versions

15/06 2014

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Mark Lewis