Category Archives: Classes

Safe email

Package:
Safe email
Summary:
Create obfuscated e-mail strings
Groups:
Email, Text processing
Author:
Michal Dziczkowski
Description:
This is a simple class that can be used to create obfuscated e-mail strings.

It takes the e-mail user name, host name and top level domain name and creates a string with the e-mail address replaced the @ character by the at text.


PString

Package:
PString
Summary:
Manipulate text strings
Groups:
PHP 5, Text processing
Author:
Oleg KronuS
Description:
This class can be used to manipulate text strings.

It takes a text string value and performs several types of operations like comparing or concatenating it with another string, searching and replacing sub-strings, splitting the string, etc..


Decorate Anything

Package:
Decorate Anything
Summary:
Implement the decorator design pattern
Groups:
Design Patterns, PHP 5
Author:
Fabian Schmengler
Description:
This class implement the decorator design patterns.

It implements a base abstract class that should be extended by decorator classes that wrap the result of the wrapped class objects.

When the decorator classes accesses the base decorator functions or variables, the abstract decorator class redirects the access to the wrapped class objects.


IP Sniffing

Package:
IP Sniffing
Summary:
Get the location of an IP using ipinfodb.com
Groups:
Geography, Networking, PHP 5, Web services
Author:
Girish M. Nambiar
Description:
This class can be used to get the geographic location of an IP address using ipinfodb.com.

It sends an HTTP request to the ipinfodb.com Web services API to get the location of a given IP address.

The class parses the response and extracts the country code, country name and city of the given IP address.


Xdebug code coverage

Package:
Xdebug code coverage
Summary:
Generate Xdebug code coverage reports
Groups:
Debug, PHP 5
Author:
Ovidiu Mihalas
Description:
This class can be used to generate Xdebug code coverage reports.

It queries Xdebug extension about code coverage information.

The class can generate PHP scripts and HTML pages to display code coverage information reports.


sys

Package:
sys
Summary:
Get information about disk volumes
Groups:
PHP 5, System information, Unix, Windows
Author:
Charles
Description:
This class can be used to get information about disk volumes.

It can query the operating system about the disk space of the available volumes.

The class executes commands that check the volumes either under Windows or Linux and other Unix-like systems.


PDF to image converter using PHP

Package:
PDF to image converter using PHP
Summary:
Convert PDF documents to images using Ghostscript
Groups:
Conversion, Files and Folders, Graphics
Author:
Gourab Singha
Description:
This class can be used to convert PDF documents to images using Ghostscript.

It takes an uploaded PDF file and converts it into JPEG images using the Ghostscript program.

The converted images are stored in files numbered according to the respective PDF document page.


Embed Media

Package:
Embed Media
Summary:
Generate HTML to embed audio and video players
Groups:
Audio, Content management, HTML, PHP 5, Video
Author:
Michael A. Peters
Description:
This class can be used to generate HTML to embed audio and video players.

It uses the DOMDocument extension to generate HTML for embedding audio and video clips in Web pages without resorting to Javascript.

The class supports several types of players, like Flow Player, Windows Media Player, HTML 5 audio and video tags. Separate sub-classes are provided to support variants of the Flow Player.


Blitz HTML Parser and Analyzer

Package:
Blitz HTML Parser and Analyzer
Summary:
Parse and analyze HTML documents
Groups:
HTML, PHP 5
Author:
sameer shelavale
Description:
This class can be used to parse and analyze HTML documents.

It used the DOM document extension to parse HTML documents.

The class can also analyze the parsed documents and return the document encoding, DOCTYPE, base URL, meta tags, title, links, images, document text, words in tags h1, title, a, a title, img alt, words weights and density.


Powered by Gewgley