Download the PHP package agencyrepublic/webpurify without Composer

On this page you can find all versions of the php package agencyrepublic/webpurify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package webpurify

Web Purify API

Build Status

A library for interfacing with WebPurify.

The library is covered by PHPUnit tests using stub mocks and is PSR-0, PSR-1, PSR-2 and PSR-3 compliant.

Installation

Add the following to your composer.json.

Usage

There are two classes which you can use to make requests to Web Purify:

Most methods listed on the WebPurify documentation can be used as method names for making API calls. There is exception as return is a reserved keyword in PHP the method name is returnExpletives.

WebPurify

These methods are available in both classes.

setLogger

WebPurify class is a PSR-3 compliant LoggerAwareInterface. It outputs all HTTP requests and responses to a logger. You will need a logger (like Monolog).

getUseSSL

Get whether SSL will be used for requests.

setUseSSL

Set whether SSL will be used for requests. The default is false.

WebPurifyImage

Instantiate WebPurifyImage by passing through your API key:

imgCheck

Returns: <imgid>

Documentation: webpurify.live.imgcheck

imgStatus

Returns:

Documentation: webpurify.live.imgstatus

imgAccount

Returns: <remaining>

Documentation: webpurify.live.imgaccount

WebPurifyText

Instantiate WebPurifyTexxt by passing through your API key:

check

Returns: boolean <found>

Documentation: webpurify.live.check

checkCount

Returns: boolean <found>

Documentation: webpurify.live.checkcount

replace

Returns: string <text>

Documentation: webpurify.live.replace

returnExpletives

Returns: array <word>

Documentation: webpurify.live.return

addToBlackList

Returns: boolean <success>

Documentation: webpurify.live.addtoblacklist

addToWhiteList

Returns: boolean <success>

Documentation: webpurify.live.addtowhitelist

removeFromBlackList

Returns: boolean <success>

Documentation: webpurify.live.removefromblacklist

removeFromWhiteList

Returns: boolean <success>

Documentation: webpurify.live.removefromwhitelist

getBlackList

Returns: array <word>

Documentation: webpurify.live.getblacklist

getWhiteList

Returns: array <word>

Documentation: webpurify.live.getwhitelist


All versions of webpurify with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
psr/log Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package agencyrepublic/webpurify contains the following files

Loading the files please wait ....