Data Validator is a class to validate a set of values based on a list of rules. It supports the following validation orders: sequence (fields validated sequentially), all-at-once, and both (using a dependencies model). It can embed different user-defined validation rules libraries (a default built-in library is provided).
Dragdrop.js is a Javascript package which implements drag-n-drop functionality in a browser. It supports moving an element horizontally, vertically, and in both directions, snap-to-grid functionality, limitation of the moving distance, and registering of user-defined functions on start, move, and stop. It has been tested in IE 6.0, FireFox 17, Chrome 22, and Safari 5.1.1.
Extended Generic Pager provides pagination of data listings from arrays, CSV, or MySQL. It takes as parameters the total number of list entries, the limit of entries to display per page, and the number of the current page. It generates an HTML list with links to browse the listing pages, optionally with links to the previous, next, first, and last pages. The text labels and the CSS classes of the links are configurable.
Form Saver is a PHP class which fills form inputs with submitted values. It can capture the output of the current page with a form template to extract the list of inputs, process and extract the values of a just-submitted form, and alter the form template to insert submitted input values. The processed form template is output to show the form filled with the submitted values.
Generic Pager is a class that can be used to browse listings of entries split into multiple pages. It takes as parameters the total number of list entries, the limit of entries to display per page, and the number of the current page. The class can generate an HTML list with links to browse the listing pages, optionally with links to the previous, next, first, and last pages. The text labels and the CSS classes of the links are configurable.
JsonRpcPhp is a class that sends HTTP requests to a given JSON RPC server to call a specified function, passing any additional parameters. It can also send multiple JSON RPC requests and return the results of all calls. Another class can process server requests by registering a given object of service class and dispatching requests to be handled by that object.
PunyPNG PHP API compresses images using the PunyPNG Web service. It sends HTTP requests to upload one or more image files to the PunyPNG Web services API Web server so it can compress them. It can download the images compressed by PunyPNG individually or in a group in a .zip archive. The downloaded images are stored in a configurable download directory.