Skip to content

jrub-forks/storm-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Description

Storm-PHP

An implementation of the multi-language support for storm (github.com/nathanmarz/storm).

Version

version 0.01

Examples

require_once 'storm.php';

class SplitSentenceBolt extends BasicBolt {
	public function process($tuple)
	{
		$words = explode(' ', $tuple->values[0]);
		
		foreach($words as $word)
			$this->emit(array($word));
	}
}

$splitsentence = new SplitSentenceBolt();
$splitsentence->run();

Author

Bryan Peterson - @lazyshot

About

Storm Multilang support with PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%