A library to specify transport objects for individual informations


A library to specify transport objects for individual informations that transit between two systems.



The installation of this library is made via composer. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		"php-extended/php-information-interface": "^17",

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

Basic Usage

This library is an interface-only library.

For a concrete implementation, see php-extended/php-information.


The InformationDataInterface is the most basic data that can transit.

It represents a simple information that an object can own.


The InformationRelationInterface is the most basic relation that can transit.

It represents a simple link between two objects.


The InformationTripleInterface is used for semantic-web informations. It is composed of only three fields, the subject, the predicate, and the object of the triple (or tuple).

It can represent information for a specific object or a relation between two objects or a reference list.


The InformationMultiInterface is a complex information that carries in one go multiple data and relation informations.

It represents a complete object full of its own informations.


The InformationVisitorInterface is the only object that can interact with all the others information interfaces.

It represents a dispatcher that will process with specific paths each of the available information interface.


MIT (See license file).