Skip to content

matthewhudson/webpipe.php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

PHP library for WebPipes.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages