Tag Archiv: classes

Perfect URL Trimmer

Package:
Perfect URL Trimmer
Summary:
Retrieve the shortest URL from several services
Groups:
PHP 5, Web services
Author:
Khurram Adeeb Noorani
Description:
This class can be used to retrieve the shortest URL from several shortening services.

It accesses the APIs of different URL shortening services and sends a request to retrieve the short version of a given URL.

The class returns the short URL that is the shortest among all that were tried.

Currently it tries the following shortening services: tr.im, bit.ly and ur.ly.


PHP Spell Checker

Package:
PHP Spell Checker
Summary:
Check spelling of text and get fix suggestions
Groups:
PHP 5, Text processing
Author:
Protung Dragos
Description:
This package can be used to check the spelling of text and get fix suggestions.

There is a base class that defines functions for spell checking.

There are also two classes for checking the spelling of text using either PHP scripts that contain arrays of valid words and grammar definitions, or using the hunspell program.

If the classes determine that there are misspelled words, they may return suggestions for eventual fixes.


Tabajara Cache

Package:
Tabajara Cache
Summary:
Cache the output of pages into files
Groups:
Cache, Files and Folders, PHP 5
Author:
Rafael Paulino
Description:
This class can be used to cache the output of pages into files.

It can check if a cache file exists and did not expire. If so, it outputs the contents of the cache file. Otherwise, the class starts capturing the output of the page.

In the end the class retrieves the just captured output of the page stores it in a cache file.

The class already compresses the output of the page that is cached.

The cache expiry time is configurable.


UTF8 to UCS convertor

Package:
UTF8 to UCS convertor
Summary:
Convert Arabic characters between UTF-8 and UCS
Groups:
php
Author:
tariq momani
Description:
This class can be used to convert Arabic characters between UTF-8 and the Universal Character System (UCS).

It can take a string with Arabic characters and convert the characters to the respective representation of their codes in UCS.


SEO Title

Package:
SEO Title
Summary:
Analyze and report problems in page titles
Groups:
HTML, SEO, Text processing
Author:
Sandeep Kumar
Description:
This class can be used to analyze and report problems in page titles.

It can retrieve a page with a given URL and extract its title.

Currently the class can analyze the title text and report problems based on the title length and the characters used in the title as separators.


SEO Title

Package:
SEO Title
Summary:
Analyze and report problems in page titles
Groups:
HTML, SEO, Text processing
Author:
Sandeep Kumar
Description:
This class can be used to analyze and report problems in page titles.

It can retrieve a page with a given URL and extract its title.

Currently the class can analyze the title text and report problems based on the title length and the characters used in the title as separators.


Parser of Expression Grammar

Package:
Parser of Expression Grammar
Summary:
Evaluate expressions in Reverse Polish Notation
Groups:
Math, Text processing
Author:
Bardo
Description:
This class can be used to evaluate expressions in Reverse Polish Notation (RPN).

It can take a string with an expression using RPN and parse it to evaluate its result.

The class supports constants, functions, operators, custom functions, custom operators.


Open Search for PHP

Package:
Open Search for PHP
Summary:
Add support to a given search engine in a browser
Groups:
Searching, XML
Author:
AliReza Ghafouri
Description:
This class can be used to add support to a given search engine in a browser.

The main class can generate a XML definition based on the OpenSearch standard that defines how to use a given search site and how to obtain suggestions that complete search text.

Another class can generate the output necessary return suggestions for partial search query text.


Flyweight Data Structures

Package:
Flyweight Data Structures
Summary:
Manage collections of objects in several ways
Groups:
Data types, PHP 5
Author:
Stanislav Shramko
Description:
This package can be used to manage collections of objects in several ways.

It defines interfaces and classes that can manipulate values and objects values that make part of collections.

Currently in provides classes for implementing hash tables, queues and stacks.


ImageUpload

Package:
ImageUpload
Summary:
Validate and process upload files
Groups:
Files and Folders, Graphics
Author:
steve krishna
Description:
This class can be used to validate and process upload image and document files.

It takes the name of an file upload input field and validate its values to determine if it was uploaded a file of the accepted types and the file size does not exceed a given limit.

If the file is valid, it is copied to a given destination directory. The class creates that directory if it does not exist already.

If the file is an image, the class may also create a thumbnail image.


Powered by Gewgley