Get started!
1. Get Rediska
You can install Rediska from PEAR, download zip archive or get from git repository.
1.1 Install from PEAR
For begining you need to discover our PEAR channel:
pear channel-discover pear.geometria-lab.net
And install package:
pear install geometria-lab/Rediska-beta
1.2 Download or get from repository
Download zip archive with latest version or get last unstable version from git repository:
git clone http://github.com/Shumkov/Rediska.git
For adding Rediska to your applcation you need copy Rediska from library folder to you application library folder
2. Configure Rediska
<?php $options = array( 'namespace' => 'Application_', 'servers' => array( array('host' => '127.0.0.1', 'port' => 6379), array('host' => '127.0.0.1', 'port' => 6380) ) ); require_once 'Rediska.php'; $rediska = new Rediska($options); ?>
3. Use Rediska
<?php // Set 'value' to key 'keyName' $key = new Rediska_Key('keyName'); $key->setValue('value'); ?>
- Full usage documentation
- Using Rediska with frameworks:
Сделайте перевод на русский язык пожалуйста!