8000 GitHub - jrutheiser/Codeigniter-Iron.io: Codeigniter library for Iron.io
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jrutheiser/Codeigniter-Iron.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codeigniter Iron.io Library

This is a Codeigniter library for iron.io.

Getting Started

Get credentials

To start using iron.io, you need to sign up and get an oauth token.

  1. Go to http://iron.io/ and sign up.
  2. Get an Oauth Token at http://hud.iron.io/tokens

--

Install Library

  1. Move library files and directory into application/libraries
  2. Move configuration file into application/config
  3. < 649A /ol>

    --

    Configure

    Edit config/iron_io.php and fill it in with your Iron.io credentials.

    --

    Basic Usage

    <?php
        $this->load->library('iron_io');
    
        /**
         * IronMQ example
         *
         * For a complete list of available methods look inside Iron_MQ.class.php
         */
        $this->iron_io->queue->postMessage($queue_name, $message, $properties = array());
    
    
        /**
         * IronCache example
         *
         * For a complete list of available methods look inside Iron_Cache.class.php
         */
        $this->iron_io->cache->put($key, $item);
    
        $this->iron_io->cache->get($key);
    
    
        /**
         * IronWorker example
         *
         * For a complete list of available methods look inside Iron_Worker.class.php
         */
        $this->iron_io->worker->postTask($name, $payload = array(), $options = array());

About

Codeigniter library for Iron.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0