PHPackages                             landmarx/library - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. landmarx/library

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

landmarx/library
================

An object oriented landmark library

071[2 issues](https://github.com/Landmarx/library/issues)PHP

Since May 18Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Landmarx/library)[ Packagist](https://packagist.org/packages/landmarx/library)[ RSS](/packages/landmarx-library/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Landmarx Node Mapping Library
=============================

[](#landmarx-node-mapping-library)

Landmark node mapping library for the landmarx system.

1. installation
2. usage

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

[](#installation)

### Composer

[](#composer)

Add this to your `composer.json` file:

```
"landmarx\library": "@dev"
```

Then run the following command:

```
$ php composer.phar update "landmarx\library"
```

Usage
-----

[](#usage)

\#Basic usage:

```
use Landmarx\Factory\LandmarkFactory;
use Landmarx\Model\Type as LandmarkType;
use Landmarx\Renderer\ListRenderer;

$factory = new LandmarkFactory();

$mtn_rng = new LandmarkType('mountain range');
$mtn = new LandmarkType('mountain');
$mtn->setParent($mtn_rng);

// Landmark created by name only
$landmark = new Landmark('appalachian mountain range');
$landmark->setLatitude(74.00)->setLongitude(-47.98);
$landmark->setType($mtn_rng);

// Child landmark
$child = new Landmark('katahdin');
$child->setLatitude(79.76)->setLongitude(-40.99);
$child->setType($mtn)->setParent($landmark);

// render landarks
$renderer = new ListRenderer();
$renderer->render($landmark);
```

This would output a nest unordered list.

\#Advanced Usage

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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://avatars.githubusercontent.com/u/161227?v=4)[David Durost](/maintainers/ner0tic)[@ner0tic](https://github.com/ner0tic)

---

Top Contributors

[![ner0tic](https://avatars.githubusercontent.com/u/161227?v=4)](https://github.com/ner0tic "ner0tic (3 commits)")

### Embed Badge

![Health badge](/badges/landmarx-library/health.svg)

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

###  Alternatives

[swlib/util

Swlib Toolkit

11144.6k3](/packages/swlib-util)[unisolutions/silverstripe-copybutton

Adds copy button to the GridField.

1736.4k](/packages/unisolutions-silverstripe-copybutton)[tttran/viet_qr_generator

VietQR generator by following vietqr specification

1921.3k](/packages/tttran-viet-qr-generator)

PHPackages © 2026

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