latest PHP classes on phpclasses.org

PHP Classes - PHPPolygen

Package: PHPPolygen
Summary: Generate phrases based on a grammar using Polygen
Groups: Text processing, Web services
Author: andrea
Description: This class can be used to generate random phrases based on a grammar using Polygen Web services API. It accesses the Polygen Web services API server and send request to generate a phrase using rules of grammar with a given name. Currently the Polygen API provides grammars for several topics in the Italian language. The class can retrieve the generated phrase and return it as a text or HTML formatted string.

PHP Classes - AJAXPoll

Package: AJAXPoll
Summary: Display polls and update results using AJAX
Groups: AJAX, Content management, PHP 5
Author: José Augusto Ferreira Franco
Description: This class can be used to display poll questions and collect the results using AJAX to avoid page reloading. It can take as parameters a poll question and the HTML to display for each of the poll answers. The class generates the necessary HTML and Javascript to display the poll on a Web page and submit the answer that the user picks to the server using AJAX. The class can can also display poll results as graphical bars that represent the percentage of each of the picked poll responses. The class avoids counting votes from the same user based on the user machine IP address and session variables. It also uses server side text files to store the updated poll results.

PHP Classes - Space maps

Package: Space maps
Summary: Generate map images for space strategy games
Groups: Games, Graphics
Author: Danilo
Description: This class can be used to generate map images useful for space strategy games. Currently, it can generate an image with a space map with a given number of sectors placed at random locations in a way that they do not overlap. It can also render optional space gates. The map image is generated in JPEG format as the current script output.

PHP Classes - String Builder

Package: String Builder
Summary: Concatenate strings in several ways
Groups: PHP 5, Text processing
Author: Senad Meskin
Description: This class can be used to concatenate strings. It can concatenate strings in several ways: - Append a string to another - Append a string with a line break either in plain text or HTML - Concatenate a variable number of string with a given concatenation format

PHP Classes - AuthNetAim

Package: AuthNetAim
Summary: Process payments using the Authorize.net gateway
Groups: E-Commerce, PHP 5, Web services
Author: njau ndirangu
Description: This class can be used to process payments using the Authorize.net payment gateway. It can gather all details of a payment and submit a request to Authorize.net payments Web services API server to process the defined payment. The class returns an error message if the HTTP request fails. The payment request response is returned in a class variable.

PHP Classes - Light Table

Package: Light Table
Summary: Execute SQL database queries from parameter lists
Groups: Databases, PHP 5
Author: Fabio Xavier de Lima
Description: This package can be used to execute SQL database queries from parameter lists. It uses the Zend Framework database abstraction layer package to access different types of databases. The main class provides functions to execute SELECT, INSERT, UPDATE and DELETE queries from lists of parameters that define tables, fields, values and conditions.

PHP Classes - Simple pagination MySQL

Package: Simple pagination MySQL
Summary: Show MySQL query results split in multiple pages
Groups: Databases, HTML, PHP 5
Author: Martin Todorov
Description: This class can be used to display MySQL database query results in multiple pages. It can execute a SQL query, retrieve the results into an array and render it in an HTML table showing a limited number of result set rows per page. The class may also display navigation links to browse all the pages on which the results were split.

PHP Classes - Typo

Package: Typo
Summary: Generate variants of words based on typing errors
Groups: Text processing
Author: Daniel Calvi
Description: This class can be used to generate variants of words based on common typing errors. It takes a given word a generates variants of that word by replacing its letters with others that are usually near the letter position on a QWERTY keyboard. The class returns an array with all the generated word variants.

PHP Classes - Connection base de donnée avec PDO

Package: Connection base de donnée avec PDO
Summary: Manage MySQL database connections using PDO
Groups: Databases, PHP 5
Author: artot
Description: This is a simple class that can be used to manage MySQL database connections using PDO. It establishes a database connection to a MySQL database. It automatically sets the connection to use buffered queries. The class can also execute SQL queries that are automatically encapsulated in transactions. It can also execute SQL SELECT queries and return the results into a single array within the same call. Any SQL execution errors are catched and notified by e-mail. The code and comments are in French.

PHP Classes - SODA

Package: SODA
Summary: Database abstraction layer that encrypt data
Groups: Cryptography, Databases, PHP 5, Security
Author: Salvan Grégory
Description: This package implements a database abstraction layer that stores encrypted data in read-only, write only (or both) properties. It provides a main database interface class to establish database connections, execute queries and retrieve results. There are also driver classes for accessing different types of databases like MySQL and PostgreSQL. The data is encrypted before it is stored in the database using an OpenSSL certificate.