PHPackages                             mornington/worldapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mornington/worldapi

ActiveLibrary[API Development](/categories/api)

mornington/worldapi
===================

Wrap the Second Life World API.

10306PHP

Since Jun 3Pushed 12y ago4 watchersCompare

[ Source](https://github.com/SoloMornington/WorldAPI)[ Packagist](https://packagist.org/packages/mornington/worldapi)[ RSS](/packages/mornington-worldapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f5098a7e0c97bc13a193c100be849b584deb1fc22bc3a5dc4adc17c7a5fbc799/68747470733a2f2f7472617669732d63692e6f72672f536f6c6f4d6f726e696e67746f6e2f576f726c644150492e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/SoloMornington/WorldAPI)

[![Total Downloads](https://camo.githubusercontent.com/7693239fa249e80dff426d9de983a6ef5e4677b155cba63ebe4fffbacf1cb189/68747470733a2f2f706f7365722e707567782e6f72672f6d6f726e696e67746f6e2f776f726c646170692f642f746f74616c2e706e67)](https://packagist.org/packages/mornington/worldapi)

WorldAPI
========

[](#worldapi)

What is it?
-----------

[](#what-is-it)

WorldAPI is a PHP consumer of the World API from Second Life.

SL's World API gives the aspiring web scraper a lot of info about Second Life residents, places, and groups.

WorldAPI (no space... see?) wraps all that up in a handy PHP object.

The Second Life World API documentation is here: [https://wiki.secondlife.com/wiki/World\_API](https://wiki.secondlife.com/wiki/World_API)

WorldAPI needs: cURL and DOM PHP extensions, and PHP 5 (since it's a set of classes).

Installation
------------

[](#installation)

WorldAPI is a packagist package:

You can use it with your project through Composer:

The standard way to install composer is:

- `cd` to your project directory.
- Install composer: `curl -s https://getcomposer.org/installer | php`
- Have composer generate a generic composer.json file: `php ./composer.phar init`
- Tell composer to install/update dependencies: `php ./composer.phar -v -o update`

To include WorldAPI in your project, add something like this to your dependencies, in composer.json:

```
"require": {
  "mornington/worldapi": "dev-master"
}

```

How do you use it?
------------------

[](#how-do-you-use-it)

The `demo.php` file has some example usage.

Basically, instantiate one of the WorldAPI subclasses, passing a UUID as the single argument.

Then call the worldAPI() function on that object and you'll have a handy array with the various meta fields as keys.

Here's how you'd show Solo Mornington's maturity rating:

```
$resident = new WorldAPIResident('6d286553-59ae-409a-887d-ee75df67b834');
$data = $resident->worldAPI();
echo $data['mat'];

```

How is it licensed?
-------------------

[](#how-is-it-licensed)

It's happy and friendly and GNU licensed.

Where does it live?
-------------------

[](#where-does-it-live)

The official repository for WorldAPI is on github. Of course, everyone's welcome to join in with bug reports and pull requests.

Who are you?
------------

[](#who-are-you)

I'm Solo Mornington on Second Life. I'm working on this as part of a project for the Linden Endowment For The Arts.

You can contact me through my github page, or on Second Life.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/90ad74cb9b951529339c6879724fad029693e6f2de529f30dedcbe629ed2e0b9?d=identicon)[SoloMornington](/maintainers/SoloMornington)

---

Top Contributors

[![paul-m](https://avatars.githubusercontent.com/u/360238?v=4)](https://github.com/paul-m "paul-m (23 commits)")[![SoloMornington](https://avatars.githubusercontent.com/u/341260?v=4)](https://github.com/SoloMornington "SoloMornington (15 commits)")

### Embed Badge

![Health badge](/badges/mornington-worldapi/health.svg)

```
[![Health](https://phpackages.com/badges/mornington-worldapi/health.svg)](https://phpackages.com/packages/mornington-worldapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
