A D V E R T I S E M E N T
Libraries and Classes
PHP » Scripts and Programs » Development Tools » Libraries and Classes
PayPal IPN Class - Free (GPL)
This new version of the class, originally written by Pineapple Technologies, fixes the problem where PayPal IPN notifications fail. There is a bug in PayPal's servers which causes your script to have to follow a HTTP 302 redirect. They are working to resolve the issue completely, but this new class insures you won't have problems of this nature in the future. This new class uses cURL so PHP can follow the redirection. By default it uses SSL for posting to PayPal, but is configurable to do normal HTTP as well. This class also gives more detailed logging info in the log file/log email. Please note cURL is REQUIRED! DtTemplate - LGPL
Though similar to other such offerings (i.e. Smarty) , DtTemplate has some distinct advantages in its design. The formatting language is extremely intuitive and bears a striking resemblance to html. This library compiles its templates , and as such runtime is FAST! Additionally, DtTemplate supports embedded php code within its own templates. This library also produces I18-localized error messages. Check out the extensive documentation available on our website with examples and code snippets. CSV MySQL Converter - Freeware
This script transfers the contents of a CSV file into a MySQL table. It can be run from a web browser, or used in a cron job and will only output a brief result. Upon error, mysql_error() is used to provide more precise information. PHP DocWriter - LGPL
PHP DocWriter is a set of PHP classes that generates simple StarOffice/OpenOffice.org Writer documents.
It builds the document following the file format specification so you don't need to have OpenOffice.org installed,
though if installed this class can generate other document formats like MS Word,
PDF, RTF, StarWriter, LaTeX, XHTML, HTML, etc.
Currently supports pages, paragraphs, text styles, images, tables, text boxes, headers, footers and drawings among other things. Cute PHP Library - Free (LGPL)
Cute PHP library is a small collection of classes for PHP. The purpose of the classes is to simplify functions for daily work with PHP (e.g. convertions, formating, DB session, and so on). XLS Reader Class
XLS Reader - PHP class that can read binary XLS files (MS Excel) using PHP only on all platforms. MS Excel or any additional PHP modules are not required.
With this script you will be able to easily present your reports, price lists etc. on your web sites without any additional programming. Or you can extract data from XLS tables into some database like MySQL.
The script is able to convert XLS files created by MS Excel to HTML tables, preserving almost all formatting properties (including date, time, numbers and currencies). This means that you can format the spreadsheet in Excel as you like it – using different font and cells formatting properties and the script will convert your XLS file into HTML as close as possible.
The Class is very simple to use, as it has its own built-in excel2html converter, which allows you to convert either whole WorkBook (including all the WorkSheets) at once, or to get HTML code only for needed SpreadSheets only.
There is a fullyfunctional on-line demo available on the script web-page. PHP OO Multilevel Template System - Freeware
A very fast and powerful object oriented template class with multi-level template parsing. Includes such features as blocks, includes, and loops with or without section for empty lists, fast variable and template substitution, sub-templates and much more. ReportList Class - Freeware
Designed to output lists or reports of data, typically directly from database query results, but also quite useful for quickly formatting generic array results for display. Features include record linking (i.e. the link for each row in the resulting list depends on the values of data within that row û useful in drill-down style reporting systems), record pagination, column sorting, customizable list colors and styles, row highlighting, and downloading to delimited text files and XML. PHP Content Feeder
ContentFeeder - A library used for assembling content feeds. RSS 2.0 is currently the only format supported, but can easily be extended to handle more. Moebius PHP Library - Free (LGPL)
The Moebius PHP Library is a project that concentrates on building a set of classes that wraps around the built-in php functions. It sets a Object Oriented Framework to work with PHP in Web Pages. Config Manager - Free (LGPL)
A set of PHP classes which can be used to manage (read, write, edit) plain text config files. If you write PHP scripts which require people
to modify a config file with their own settings,
this should hopefully make life a little easier. Supports: arrays and associative arrays, 4 basic variable types: string, integer, double and boolean, special characters when enclosed within double quotes: \n \r \t,
editing of the config file through a web interface. XLS Generator
XLS Generator is a PHP script, allowing to create binary XLS files using PHP. Using this script you will be able to create spreadsheets on UNIX systems, or on Windows – only PHP 4.x (or later) is required.
XLS Generator has many features which will help you to make your generated spreadsheets look individual: font styles, border and color settings, background, foreground and border colors and styles, text orientation and in-cell alignment settings. You can even add formulas and Excel functions. Also supported : paper size, page orientation, printed margins, header and footer which can include page numbers.
You can test the work of the script via fully funcional on-line demo, located on the script page.
RTF Generator Class
RTF Generator lets you create your own RTF files on web-servers, without any applications except PHP. Using special mark-up language which is based on HTML, you will be able to describe all necessary formatting for your data. You will have total control over the final look of the RTF document, as the Generator supports almost all features you can find in MS Word when creating a document.
With this tool you will be able to generate customized contracts, agreements, bills of sales using client provided information or information from database, including images. It can save huge amount of time on document preparation. The document is totally generated within a split second using the dynamic data.
There is a fullyfunctional on-line demo available on the script web-page where you can test the script by yourself. PHP-JAVA CLASS Code Generator - FREE
This tool is designed in such a way to facilitate the creation of java and php classes in javabeans style. It is extremely useful in case you have a Mysql table and you would like to generate a class over this table which would have a constructor, saving (updating) and drop option, and to provide the possibility to enter and query internal variables assigned for each field of the table. The advantage this generator provides is generating a class scheleton which may be altered in the future.
The disadvantage consists in reduced applicability as it is useful in case the first field is set as Primary Key. Class.RC4Crypt - Free (GPL)
RC4 is a symmetric fast and secure encryption / decryption algorithm. This class attempts to add the unbarable missing of RC4 support in PHP, also since recent versions mcrypt do not support RC4. <b>v2.1 update:</b> Bug fix regarding swapping code, must update for Vector harness conformance. MyObjects
MyObjects is a set of tools for database schema generation, class generation and object persistence. It is divided into two sub projects, a compiler for class generation and runtime for back and forth maping objects to the database and Xml files.
Features Of MyObjects: Automatic database schema generation from existing databases. Web based database schema generation from scratch. Command line based database schema and class generation. Generation of Sql statements from the designed database schema. Generation of Classes that will map to the database tables. (A seperate class for each table is created). Full validation code through setter methods in generated classes. phpDoc style comments in generated classes. Minimizes runtime operations by providing many features in generated classes. Xml serialization of the objects of generated classes and deserializing of the objects from Xml files. Inplemented in new Php 5 object model. Uses the new MySqli extension for php to support new features of MySql. Uses the new libXml based DOM extension to provide generation, parsing and validation of database schema files.
The Japha Programming Interface - LGPL
The JPI is an effort to create an easy to use, highly re-usable library of components and classes for use in every day programs. It is based on the Java API (though it might as well be any API), to give Java programmers and others an easy way to find documentation and ease into the use of the language. TXT Generator Class
The script is aimed to creation of the plain text files (TXT). Certainly, there is no use to "just create TXT file using PHP" it is simple - so, TXT Generator is powered by additional features in order to make it possible to create complicated layouts using just plain text.
TXT Generator has many features which will help you to make your generated TXT files look not as a bunch of lines of text: paragraphs with alignment, custom width, borders and page orientation; ordered and unordered lists; and even tables, with variable width, in-cell text alignment, table orientation on page.
There is a fullyfunctional on-line demo available on the script web-page. Sitellite Application Framework - Free (LGPL License)
Sitellite Application Framework is a collection of over 100 PHP classes that make web application development easier, faster, and more reliable. Highlights include a simple template system, form validation/handling, multi-screen forms, multi-level caching, a Wiki-like markup language called EasyText, and fast XML parsing and manipulation. SAF is the Open Source core to the Sitellite Content Management System. OO Template Class - GPL
This is a powerful object oriented template class you can use in your own programs. It's very easy to use and offers lots of features!
A D V E R T I S E M E N T
||Subscribe to SourceCodesWorld - Techies Talk