Tag Archiv: classes

OSX Process

Package:
OSX Process
Summary:
Run PHP scripts in parallel using the PHP command
Groups:
Language, PHP 5, Unix
Author:
kirankrishnan
Description:
This class can be used to run PHP scripts in parallel using the PHP command.

It uses the PHP CLI program to run a PHP script in parallel.

The class can kill the started process at any moment and check if the parallel script is still running.


Export Spreadsheets

Package:
Export Spreadsheets
Summary:
Create Excel spreadsheet from data in MySQL table
Groups:
Databases, Files and Folders, PHP 5
Author:
Charles A. LaFleur
Description:
This class can be used to create an Excel spreadsheet from data in a MySQL table.

It performs a query to a given MySQL table and creates an Excel spreadsheet file with the PEAR Spreadsheet_Excel_Writer package from the table data.

The class can add multiple worksheets from results of querying one or more MySQL tables.

Several parameters may be used to configure details like from which table fields map to spreadsheet columns, field sorting, etc..


ABC_MySQL

Package:
ABC_MySQL
Summary:
Execute MySQL queries and get paginated results
Groups:
Databases, PHP 5, Validation
Author:
Richard Lucas
Description:
This class can be used to execute MySQL queries and get paginated results.

It can insert, update and delete MySQL database table records with eventual prior validation of the field values according to given rules.

The class can also execute SELECT queries with support to retrieve results to show in paginated listings.


Simple Object Element

Package:
Simple Object Element
Summary:
Parse XML documents and export as arrays or JSON
Groups:
PHP 5, XML
Author:
mirko
Description:
This class can be used to Parse XML documents and export as arrays or JSON or viceversa.

It can parse a hierarchic document loaded from a XML file, a regular array or JSON encode string.

The class may also export the document to an array or a JSON encoded string.


Bitly-PHP

Package:
Bitly-PHP
Summary:
Expand or shorten URLs using the bit.ly site
Groups:
PHP 5, Web services
Author:
Igor Escobar
Description:
This class can be used to expand or shorten URLs using the bit.ly site.

It can send HTTP requests to the bit.ly site to create a new short URL that redirects to a given longer URL.

The class can also do the opposite, i.e. send a request to retrieve the original URL that is redirected when accessing a given bit.ly short URL.


login class by AmRaLaA

Package:
login class by AmRaLaA
Summary:
Authenticate users with records in a MySQL table
Groups:
Databases, PHP 5, User Management
Author:
amralaa
Description:
This class can be used to authenticate users with records in a MySQL table.

It can lookup in a MySQL database table verify the user name and password of a given user.

The sets a session variable if the user is correctly authenticated.

The password verification may also use the MD5 hash of the password.


Login Ban

Package:
Login Ban
Summary:
Keep track and ban failed user access attempts
Groups:
HTTP, User Management
Author:
Mohammed Cherkaoui
Description:
This class can be used to keep track and ban failed user access attempts.

It takes note of the time of failed user access attempts in cookies.

The class may check if the user reached the limit number of failed attempts and prevent user access of a given period of time.


HTML-Table

Package:
HTML-Table
Summary:
Display HTML tables composed programatically
Groups:
HTML, PHP 5
Author:
Elyess Zouaghi
Description:
This class can be used to display HTML tables composed programmatically.

There is a base class that abstracts HTML elements in general.

A sub-class abstracts the functionality of HTML tables allowing to add table rows and set table cell contents.


CLI Tools

Package:
CLI Tools
Summary:
Manage resources and output status to the console
Groups:
Console, PHP 5
Author:
Thilo Raufeisen
Description:
This class can be used to manage system resources and output the status to the console.

It can set and remove application lock files, retrieve the current memory usage and set signal handlers.

The class can also format messages to be presented in the console.


Powered by Gewgley