Skip to content

php-vegas/launchkey-cakephp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages