This directory contains various programs in PHP for performing intergration tasks with OpenSimulator running in grid mode. These currently work for standalone mode since they rely on the availability of the ROBUST service interfaces over HTTP.
Please see the individual src/programs/*/README.txt for more details. Each program is self-contained within its own directory, apart from references to common utility and config files in parent directories (e.g. utils.php).
- PHP >= 5.1.0
- PHP curl module
- Console_CommandLine PEAR package (http://pear.php.net/package/Console_CommandLine)
-
Edit config.php so that the service URIs point to your ROBUST service host or hosts.
-
Run/examine individual PHP scripts in programs/
- config.php - Configuration file
- utils.php -
Code that I want to keep around but is not currently in use.
Connectors that create and parse OpenSimulator service requests. Provides methods that callers can use to invoke service requests without needing to know the service call formats (e.g. GetFolderContent() from inventory-service-connector.php). However, at this time, scripts still need to directly parse XML responses. In the future, classes may be returned instead of raw XML to further insulate the calling script from low level details.
OpenSimulator services are called using PHP Curl.
A sliver of the C# OpenMetaverse library [1] in order to support the PHP scripts, chiefly enumerations at this time. Main repository for this is at [2].
Example scripts for performing various tasks (e.g. adding attachments to avatars).
[1] https://github.com/openmetaversefoundation/libopenmetaverse [2] https://github.com/justincc/libomv4php