Skip to content

Latest commit

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

LaunchKey Plugin

LaunchKey implementation for CakePHP

Background

A sample CakePHP Plugin for using the LaunchKey API

Requirements

  • PHP 5.3+
  • CakePHP 2.3+

Installation

[Manual]

Download this: http://github.com/lv-php/launchkey-cakephp/zipball/master

Unzip that download.

Copy the resulting folder to app/plugins

Rename the folder you just copied to LaunchKey

[GIT Submodule]

In your app directory type:

 git submodule add git://github.com/lv-php/launchkey-cakephp.git plugins/LaunchKey
git submodule init
git submodule update

[GIT Clone]

In your plugin directory type

 git clone git://github.com/lv-php/launchkey-cakephp.git LaunchKey

Usage

app/Config/bootstrap.php

 CakePlugin::load("LaunchKey");

app/Controllers/AppController

public$components = array(
'LaunchKey' => array(
'appid' => '123456789',
'secretKey' => 'asdfasdfasdf',
'privateKey' => '/my/private/key.key',
'polling' => TRUE, // True for private IP address or development
)
);

ToDo

License

About

LaunchKey implementation for CakePHP

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages