Category Archives: Classes

FileWatch

Package:
FileWatch
Summary:
Monitor changes in files of a directory
Groups:
Files and Folders, PHP 5
Author:
Tony
Description:
This class can be used to monitor changes in files of a directory.

It can traverse a given directory and keep track of the list of files that it contains and their modification dates. The file list information is stored in a given file.

The class can traverse the folder again and compare the current file list with the previous scan list. Any changed, added or deleted files can be notified to a given e-mail address.


Java compatible UTF-8 Data Manipulation

Example script
Package:
Java compatible UTF-8 Data Manipulation
Summary:
Manipulate text strings as in Java
Groups:
Localization, PHP 5, Text processing
Author:
Artur Graniszewski
Description:
This package can be used to manipulate text strings as in Java.

It consists of classes that implement an extensive set of functions for manipulating text strings, comparisons, matching patterns, localization, etc..


PHP Stemmer

Package:
PHP Stemmer
Summary:
Compute the stem of a Spanish word
Groups:
Algorithms, PHP 5, Text processing
Author:
Rafael Espinosa
Description:
This class can be used to compute the stem of a Spanish word.

It uses Porter's stemming algorithm to compute the stem of a given Spanish word.

The class supports removing common suffixes and works with words encoded with UTF-8.


myBMI

Package:
myBMI
Summary:
Compute the body mass index of a person
Groups:
Biology, PHP 5
Author:
Michael Mayer
Description:
This class can be used to compute the body mass index of a person.

It takes the height and weight of a person with at least 18 years old and computes the respective body mass index.

The class also returns a classification of the person weight, whether is above or below the ideal weight. It can also considering the level of amputation of a person that lost body parts.


Find IP

Package:
Find IP
Summary:
Get the IP address of computer accessing the site
Groups:
HTTP, Networking, PHP 5
Author:
Juan Chaves
Description:
This class can be used to get the IP address of computer accessing the site.

It can check the server request remote computer address or the headers sent by proxies to determine the real address of the machine accessing the site.


Curl multi sitemap

Package:
Curl multi sitemap
Summary:
Generate multiple sitemaps crawling sites
Groups:
PHP 5, Searching, SEO
Author:
Arturs Sosins
Description:
This class can be used to generate multiple sitemaps crawling sites.

It can crawl one or more sites to retrieve its pages and follow links recursively and determine the addresses of all pages to include in a XML sitemap.

It can ignore given URLs to avoid crawling and including in the sitemap.

The class uses the Curl extension multi-request support to retrieve multiple site pages at the same time.

You can also notify such services as Google, Yahoo, Bing, Ask and Moreover about your sitemap update.

The class may also notify Google, Bing, Yahoo, Ask and Weblogs when the sitemap is updated.


Dynamic Configuration

Package:
Dynamic Configuration
Summary:
Store and retrieve configuration values in MySQL
Groups:
Configuration, Databases
Author:
Mark Kintigh
Description:
This class can be used to store and retrieve configuration values in MySQL.

It store given configuration values in a MySQL table.

The class can also retrieve the values from that table.

It can as well create and drop the table for storing the configuration values.


DateObj

Package:
DateObj
Summary:
Perform operations to manipulate dates
Groups:
PHP 5, Time and Date
Author:
Viaggi & Miti Srl
Description:
This class can be used to perform operations to manipulate dates.

It can perform several types of date operations like formatting a date in different ways, converting between timestamp values and date strings, adding a period of time to a given date, and comparing dates.


Configuracion

Package:
Configuracion
Summary:
Generate PHP scripts with configuration values
Groups:
Code Generation, Configuration, PHP 5
Author:
JoseX20
Description:
This class can be used to generate PHP scripts with configuration values.

It can add one or more configuration variables to a list.

The class generates a PHP script file with code that assigns the given values to the respective values.


Powered by Gewgley