Package:
Summary:
Connect to a remote machine via a SOCKS server
Groups:
Author:
Description:
This class can be used to connect to a remote machine via a SOCKS server.
It can establish a connection with SOCKS server that supports versions 4, 4a or 5 of the SOCKS protocol to route a connection to a given remote machine.
The class can also send and receive information from the remote machine using the same connection to the SOCKS server.
Package:
Summary:
Common interface to process payments with gateways
Groups:
Author:
Description:
This package provides a common interface to process payments using multiple gateways. It is a PHP port of Ruby's Active Merchant library.
It can take the information details of a credit card, an order to be paid and send a request to a supported payment gateway to request payment authorization.
Currently it supports the payment gateways: Authorize.net, Centinel 3D Secure, Eurobank Payment, HSBC Secure e-Payment and Paypal Express Checkout.
Package:
Summary:
Generate RSS 2.0 feeds
Groups:
Author:
Description:
This class can be used to generates RSS 2.0 feeds.
It can use compose the definition of a feed channel and items by specifying the titles, URLs, descriptions, etc..
The class can generate XML for the feed as the output of the current script.
Package:
Summary:
Query databases with single calls to PEAR MDB2
Groups:
Author:
Description:
This class can be used to query databases with single calls to PEAR MDB2.
It establishes a connection to a database given its DSN string.
The class can execute queries and cache the results using the Cache Lite package.
It can also retrieve paginated results using the Pager package.
Package:
Summary:
Send an instant message to Yahoo Messenger user
Groups:
Author:
Description:
This class can be used to send an instant message to Yahoo Messenger user.
It can send HTTP requests to the Yahoo Messenger Web server to authenticate as a given user and then sends a message to another given user.
Package:
Summary:
Connect and query Microsoft Access databases
Groups:
Author:
Description:
This class can be used to connect and query Microsoft Access databases.
It takes the path of a Microsoft Access database file and computes suitable a DSN string to establish a connection to the database using ODBC extension on Windows.
The class can also execute a given SQL query to the connected database and return the whole result set in an array.
Package:
Summary:
Create and manage one or more singleton objects
Groups:
Author:
Description:
This package can be used to create and manage one or more singleton objects.
There is one class that can manage one singleton object, assuring that only one instance of the class is created.
Another class can manage multiple singleton objects which are distinguished by name.
Package:
Summary:
Show a list of nested folders as collapsible tree
Groups:
Author:
Description:
This package can be used to show a list of nested folders as collapsible tree.
It can generate HTML and JavaScript to show a list of nested folders that expand and collapse when the user clicks on folder entries.
Package:
Summary:
Extend the DOM XML classes
Groups:
Author:
Description:
This package extends the DOM XML classes to provide additional functionality.
The DOM Document extension class can return the document root element, add a new node to the end of the document, select nodes that match a XPath expression, call a function for a list of elements and transform a document using XSL.
The DOM element extension class can get XML for the owner document, get the node XPath, get child nodes, select child nodes that match a XPath expression, get the parent and sibling nodes, get and set attributes by name, copy attributes, add child nodes and character data, import and export nodes to and from another document, set and get the inner XML of a node, call a function for nodes that map a XPath expression, etc..
Standard DOMDocument has rich functionality, but it is not handy enough. XMLDocument is extension of standard PHP DOMDocument and DOMElement.
This project contains two classes for easy create, navigate and process XML documents.
Main features is:
* SelectSingleNode and SelectNodes - node related functions works like same functions in C#.
* Inner XML getting/setting - easy and in one line.
* Chain style to create new node sets.
* Functions for frequently used actions: copy attributes, delete all childs etc.
Usage sample:
$doc = new XMLDocument("<Users/>");
$doc->getRoot()->addNode('User')
->setAttribute('Active', 'true')
->addNodeWithCData('Name', 'John')
->getParent()->getParent()
->addNode('User')
->setInnerXML('<Name><![CDATA[Peter]]></Name>');
echo $doc->saveXML();
Result:
<Users>
<User Active="true">
<Name><![CDATA[John]]></Name>
</User>
<User>
<Name><![CDATA[Peter]]></Name>
</User>
</Users>
See Samples for more details.
Package:
Summary:
Authenticate and manage OTP user tokens
Groups:
Author:
Description:
This class can be used to authenticate and manage OTP user tokens.
It can create, update and delete tokens to authenticate users with one time passwords (OTP). The users data is stored in files.
The class can also check the user token using several algorithms: Mobile OTP (MOTP), OATH/HOTP (RFC 4226) and OATH/TOTP HOTP Time Based (RFC 4226 extension).