Tag Archiv: classes

PHPExcel wrapper for populating XLS files with user data

Screenshot of generated XLS file
Package:
PHPExcel wrapper for populating XLS files with user data
Summary:
Generate Excel spreadsheets from templates
Groups:
Files and Folders, PHP 5, Templates, Utilities and Tools
Author:
Alexander Selifonov
Description:
This class can be used to generate Excel spreadsheets from templates.

It can load a template spreadsheet file, replace some template values and generate the merged Excel file.

The resulting Excel file can be protected with a password and served as the
current script output or saved to a given file.

This class requires the PHPExcel classes for reading and writing Excel XLS files.


Resize image

Package:
Resize image
Summary:
Resize GIF, JPEG and PNG images
Groups:
Graphics, PHP 5
Author:
rajani
Description:
This class can be used to resize GIF, JPEG and PNG images.

It can read a GIF, JPEG or PNG image and scale the image to a given width and height.

The class can resize the image to the exact given dimensions, keep the image proportions, or crop to the width or height that exceeds the given width or height.

The resized image can be saved to a given file also in GIF, JPEG or PNG formats.


CSV2SQL_AR

Package:
CSV2SQL_AR
Summary:
Generate SQL from data imported CSV files
Groups:
Databases, Files and Folders, PHP 5
Author:
Albert Rosa
Description:
This class can be used to generate SQL from data imported CSV files.

It can open a CSV file and generate SQL statements to create a table and insert the data read from the CSV file into a SQL database.

The name of the database to be created and populated is configurable.


Lapi

Package:
Lapi
Summary:
Query MySQL database from parameter lists
Groups:
Databases, PHP 5
Author:
Juan Camilo López
Description:
This class can be used to query MySQL database from parameter lists.

It can connect to a MySQL database server and execute SQL SELECT, INSERT, UPDATE and DELETE from parameters that define tables, fields, field values, and conditions clauses.


DataBrasil

Package:
DataBrasil
Summary:
Manipulate and convert dates
Groups:
PHP 5, Time and Date
Author:
Enio Borges Ribeiro
Description:
This class can be used to manipulate and convert dates.

It can parse dates in different formats and extract the year, month, day and week day.

The class can also compute the number of days between dates and add or subtract days to a date.

The code and comments are in Portuguese.

In Portuguese:

Essa é uma classe simples de manipulação de datas no formato Timestamp, SQL para o formato brasileiro e vice-versa. Além de realizar algumas operações de adição e subtração de dias.


Text Parse

Package:
Text Parse
Summary:
Get statistics and beautify text strings
Groups:
PHP 5, Statistics, Text processing
Author:
Kai Ming Choi
Description:
This class can be used to get statistics and beautify text strings.

It can analyze a given text string and get the total length, the number of non-whitespace characters, number of letters, number of spaces and tabs, number of symbol characters, number of words and number of sentences.

The class can also beautify the text by removing exceeding spaces, punctuation and line breaks.


Advanced file upload and ajax upload

Package:
Advanced file upload and ajax upload
Summary:
Validate and process file uploads
Groups:
Files and Folders, HTTP
Author:
Selman TUNÇ
Description:
This class can be used to validate and process file uploads.

It can check if the uploaded files have one of the allowed file name extensions and MIME types, and does not exceed the allowed file limits.

Image files are opened to verify they really contain image data of the determined format.

The class can move the uploaded files to a given directory if it exists and has write permissions.

The idiom of the error messages is configurable from a list of supported idioms.


Simple CSV Reader

Package:
Simple CSV Reader
Summary:
Read and sort CSV file data into array
Groups:
Files and Folders, PHP 5
Author:
Enio Borges Ribeiro
Description:
This class can be used to read and sort CSV file data into array.

It can open a CSV file and read its data into a bidimensional array.

The retrieved data array can also be sorted.

In Portuguese:

Uma classe simples para a conversão de arquivos CSV para array.

Os arquivos CSV devem conter os cabeçalhos.


Powered by Gewgley