Package:
Summary:
Extract list of tokens from a text string
Groups:
Author:
Description:
This package can be used to extract list of tokens from a text string.
It can take a text string and split it in tokens separated by text strings or one or more characters.
It supports markers strings that define the beginning and end of a token that may have separator strings inside.
It also supports operators that may be used to combine multiple tokens by performing defined operations and returning the result value.
Package:
Summary:
Implementation of the composite design pattern
Groups:
Author:
Description:
This package presents an implementation of the composite design pattern.
It provides an abstract class that represents a train composition of wagons.
The package also comes with example concrete implementations of train and wagon classes.
This is a simple implementation of Composite Pattern.
In the package can be found three classes: AbstractTrain, Train and Wagon.
Package:
Summary:
Export MySQL database to ZIP files
Groups:
Author:
Description:
This class can be used to export MySQL database to ZIP files.
It can generate a dump of a MySQL database schema and data into a file.
The resulting output is stored in a ZIP file.
Package:
Summary:
Measure the time a PHP script takes to execute
Groups:
Author:
Description:
This class can be used to measure the time a PHP script takes to execute.
It can start measuring the time different sections of a script take to execute.
The class can keep track of the elapsed time of each script section and store the section name and the time in a class array variable.
Package:
Summary:
Manipulate video files using the ffmpeg program
Groups:
Author:
Description:
This package can be used to manipulate videos files in PHP using the ffmpeg program.
It provides classes for retrieving information from video and audio files like the duration, frame and sample rate, frame size, etc..
It can also extract individual frames from the videos and create GD image resources.
It supports the all the video formats supported by ffmpeg like MOV, AVI, MPEG, WMV, and the audio formats MP3 and WMA.
Package:
Summary:
Fix HTML documents
Groups:
Author:
Description:
This class can be used to fix HTML documents.
It can process an HTML document passed as a string and perform several operations to fix the HTML. Currently it can:
- Delete closed tags without their opening tag
- Close open tags without a close tag
- Fix incorrectly nested tags
- Fix incorrectly quoted attributes
- Merge multiple styles attributes in the same tag
- Remove comments
- Remove empty tags
Package:
Summary:
Measure the time that elapses
Groups:
Author:
Description:
This class can be used to measure the time that elapses.
It can start a timer and stop it in a different moment to measure the time that elapsed between the two moments.
The class can also pause and the resume the time measurement in any moment.
Package:
Summary:
Determine if a text contains many obscene words
Groups:
Author:
Description:
This class can be used to determine if a text contains too many obscene words.
It parses a given text and checks if it uses words that are part of an obscene words list. It can also look for variants of the words and plural forms of the listed English words.
The class returns a score number that may be used by applications to take decisions on whether the text is acceptable.