Tag Archiv: classes

PHP5 Tools Collection

Package:
PHP5 Tools Collection
Summary:
Generate random text and sanitize strings
Groups:
PHP 5, Text processing
Author:
Bimal Poudel
Description:
This is a very simple class that can be used to generate random text and sanitize strings.

It provides a function that generates a string of a given length made of random hexadecimal characters.

The class also provides another function to sanitize text strings by adding slash characters.


Image Banner Class

Package:
Image Banner Class
Summary:
Display rotating banners from a MySQL database
Groups:
Content management, Databases, HTML
Author:
Usman Didi Khamdani
Description:
This class can be used to display rotating banners from a MySQL database.

It queries a MySQL database table to retrieve the details of random banner of a given category.

The class generates HTML to display the a link with the banner image.

It also handles requests that redirect to the banner URL when the user clicks on the banner. It records information about the users that clicked in the banners, except for those from users of banned IP addresses.


PHP MySQL Login 5 levels of Hierarchy

Package:
PHP MySQL Login 5 levels of Hierarchy
Summary:
Manage site users within 5 levels of hierarchy
Groups:
User Management
Author:
rm
Description:
This package can be used to manage site users within 5 levels of hierarchy.

It can manage the records of users in a MySQL database giving them 5 possible levels of hierarchy: administrator, master, agent, member and guest.

The package comes with classes that can add and remove user records, authenticate user password, manage user sessions and edit user accounts.


Template Manager

Package:
Template Manager
Summary:
Template engine that replaces variables in files
Groups:
PHP 5, Templates
Author:
martin barker
Description:
This class implements a template engine that replaces variables in files

It can load a template file and process it to extract the list of template variables and replace them by template variable values.

The class supports replacing variables from a given array values,
or taking the values from global variables, including other template files.

The class all so processes a .conf file which any thing in there is load as Template.Key


Dump To Array

Output of Class
Package:
Dump To Array
Summary:
Generate PHP code that represents an array value
Groups:
Code Generation, Data types, Debug
Author:
Matthew Osborne
Description:
This class can be used to generate PHP code that represents an array value.

It takes an array parameter and traverses it recursively to generate a string of PHP code that can be used in PHP scripts to initialize the array with the same value structure.


FTP Sync

Package:
FTP Sync
Summary:
Synchronize local files with a remote FTP host
Groups:
Files and Folders, Networking, PHP 5, Systems administration
Author:
Amin Saeedi
Description:
This class can be used to synchronize local files with a remote FTP host.

It connects to a given FTP server and compares the list of files of a remote directory with the files of a given local directory.

The class transfers the files to the remote host that are outdated and downloads the files from the remote host that were updated more recently.

The directories are traversed recursively but the class may exclude given files or directories.


EZMVC

EZMVC
Package:
EZMVC
Summary:
Framework Like CodeIgniter !!
Groups:
Design Patterns, Libraries, PHP 5
Author:
Sarfraz Ahmed
Description:
This package is an easy-to-use framework implementing the MVC (Model View Controller) design pattern. It helps you create maintainable, flexible and scalable applications. It is pretty similar to frameworks like codeIgniter, cakephp or symfony but does not contain all the features of those frameworks at the moment, however, it is built on ease of use bases. It provides:

- A base registry class for storing application variables
- A router class to dispatch requests to controller classes
- A MySQL database wrapper class
- A base model class to manage stored information
- A template processing class to manage the output of view scripts
- Helper classes for CAPTCHA validation, display pagination and bread crumbs links


phpBoing

Package:
phpBoing
Summary:
Inject dependency objects from XML definitions
Groups:
Design Patterns, Language, PHP 5, XML
Author:
David Palmer
Description:
This package can be used to inject dependency objects from XML definitions.

It can create a bean object from external definitions read from an XML file.

The object may have properties as defined in the XML file.


Secure HTML parser and filter

Screenshot of the Web user interface to test the secure HTML filter class
Package:
Secure HTML parser and filter
Summary:
Parse and filter insecure HTML tags and CSS styles
Groups:
HTML, Security
Author:
Manuel Lemos
Description:
This package can be used to parse and filter insecure HTML tags and CSS styles.

It comes with a general purpose markup parser class that can parse any type of markup documents like HTML, XML and DTD files.

There are several other classes that can be chained together to retrieve the document token elements returned by the main markup parser class and filter the document elements in an useful way.

The markup validator filter class validates a document against a DTD, eventually removing invalid tags and attributes.

The safe HTML filter class uses several white lists to process HTML tags and data returned by the markup validator class and discards potentially harmful HTML tags and CSS that could be used to perform cross-site scripting (XSS) or cross-site request forgery (CSRF) security attacks.

The filtered HTML tokens can be reassembled to return a well-formed and secure HTML document.

The HTML links filter class can extract the links contained in an HTML document.

The DTD parser and CSS parser are utility classes used by the other classes.


Analizador Montos

Package:
Analizador Montos
Summary:
Spell a money amount using Spanish words
Groups:
Finances, Text processing
Author:
Julio G.
Description:
This class can be used to spell a money amount using Spanish words.

It can take a number of a given money amount of up to one thousand millions and returns words that spell that amount in Spanish.

The class supports spelling amounts in Pesetas, Pesos and Dollars.

In Spanish:
Esta clase de uso sencillo permite convertir montos numericos a montos en letra.


Powered by Gewgley