Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 883 Bytes

README.markdown

File metadata and controls

40 lines (27 loc) · 883 Bytes

Use WebPipes in your PHP applications.

Introduction

WebPipes are handy HTTP utility programs. They accept input and return output. If you're missing a Standard Library or some other basic and/or extended functionality, there may be a WebPipe available.

Learn more about WebPipes →

Setup

Add webpipe.class.php to your project folder and don't forget to require().

require('webpipe.class.php');

Usage

// Init 
$webpipe = new WebPipe();

// Make our WebPipe request
$response = $webpipe->execute("parse-markdown", array(
	"markdown" => "*Hello World!*"
));

// Print the WebPipe response
if ($response) {
	print "<pre>" . $response . "</pre>";
} else {
	print "<pre>Error</pre>";
}

Resources