PHP library for WebPipes.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
README.markdown
webpipe.class.php

README.markdown

WEBPIPE.PHP

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