Category Archives: Classes

Translation and Dictionary

Simple view on an html file
Package:
Translation and Dictionary
Summary:
Get application texts in several idioms from MySQL
Groups:
Localization, PHP 5
Author:
César Bruschi
Description:
This class can be used to get application texts in several idioms from a MySQL database.

It can retrieve from a MySQL database all the texts in a given idiome for a given application context.

The class can also retrieve the list of available idioms for which there are translations.


Easy CAPTCHA

Package:
Easy CAPTCHA
Summary:
Generate images for CAPTCHA validation
Groups:
Graphics, PHP 5, Security, Validation
Author:
chaabelasri
Description:
This class can be used to generate images for CAPTCHA validation.

It can generate an image with random validation text on it obfuscated by a given background image.

The generated image is stored in JPEG format in an a given directory.

The validation text is stored in session variable for posterior validation.


jQuery4PHP

Package:
jQuery4PHP
Summary:
Generate JavaScript to use the jQuery library
Groups:
AJAX, PHP 5
Author:
Omar Yepez
Description:
This package can be used to generate JavaScript to use the jQuery library.

It provides classes that wrap around jQuery objects and generates JavaScript to perform calls to those objects, including making AJAX calls to be handled by PHP script.


CSFD Parser

Package:
CSFD Parser
Summary:
Retrieve movie information from the CSFD site
Groups:
Video, Web services
Author:
Martin Zeman
Description:
This class can be used to retrieve movie information from the Cesko-Slovenská filmová databáze (CSFD) site.

It can retrieve the page of a given movie in the CSFD site and parse it to extract the information of the movie.

Currently it can extract the movie name, poster, ratings, actors, direction, genre, year, description, comments, etc..


proc_runner

Package:
proc_runner
Summary:
Run a script in background using PHP CLI
Groups:
Language, PHP 5
Author:
denis
Description:
This class can be used to run a script in background using PHP CLI.

It uses PHP proc_open() function to run a PHP script in the background by executing the PHP CLI program version.

The started background scripts may run until they finish or may be stopped by the class usin the PHP proc_close() function.


Retrieving, executing and saving partial data from SQL dump

Screenshot
Package:
Retrieving, executing and saving partial data from SQL dump
Summary:
Extract table dumps from full MySQL database dumps
Groups:
Databases, PHP 5, Systems administration
Author:
Alexander Selifonov
Description:
This class can be used to extract table dumps from full MySQL database dumps.

It can parse a MySQL full database and extract the SQL CREATE and INSERT statements just for given tables.

The extracted SQL statements may be executed immediately or saved to a new database dump file.

Sometimes database administrators or programmers need to restore or copy only a few data tables from one server to another, but all they have is a full DUMP file created by standard utilities like 'dump' (for MySQL).
For production systems it can be really HUGE file, so the task seems to be not so simple.

CDataFromDump class aimed to resolve the problem: it parses source dump file and grabs only data for desired table list. These CREATE TABLES and INSERT operators can be instantly executed on connected database or saved into a new SQL file, for editing and/or executing later.

Currently the class has following features:
- During the first scan, it tries to creates "metadata" file for processed dump, so next retrieving jobs will be much faster.
- Grabs only SQL operators for the tables from passed list
CREATE TABLE operators can be executed/included into result SQL file or NOT, according to passed parameters.


PHP Scanner

Screenshot of Screen Prior to Scan
Package:
PHP Scanner
Summary:
Crawl a site to find PHP errors
Groups:
Debug, Searching
Author:
Mike
Description:
This class can be used to crawl a site to find PHP errors.

It can retrieve the pages and images of a site and follow the links recursively to determine if any pages exhibit error messages generated due to PHP errors.

The class displays an error message for any pages which are detected to have errors.


Twitter Auto Publish

Package:
Twitter Auto Publish
Summary:
Post statuses to Twitter without using oAuth
Groups:
PHP 5, Social Networking, Web services
Author:
Er. Rochak Chauhan
Description:
This package can be used to post statuses to Twitter without using oAuth.

It can send requests to the Twitter site to authenticate on behalf of a given user and post updated status messages.


Kiwi

PDF label exemple
Package:
Kiwi
Summary:
Generate bar code labels in PDF using TCPDF class
Groups:
CLASS, Files and Folders, Graphics, PHP 5
Author:
madvic
Description:
This class can be used to generate bar code labels in PDF using TCPDF class.

It can read the label definitions from a XML file and generates a PDF document with multiple bar code labels filling the document page.


Google Text To Speech

Package:
Google Text To Speech
Summary:
Convert text to speech using Google API
Groups:
Audio, HTML, PHP 5, Text processing, Web services
Author:
Petter Kjelkenes
Description:
This class can be used to convert text to speech using Google Translate API.

It may take a text string or an HTML excerpt and sends a request to Google Translate API Web servers to return an MP3 audio file with text converted into speech.

The class may also generate HTML with JavaScript to play the supplied text speech audio in a Web page.


Powered by Gewgley