PHPackages                             aliance/morton - 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. aliance/morton

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

aliance/morton
==============

Z-order curve implementation

1.0.0-alpha(8y ago)08MITPHPPHP &gt;=7.0

Since May 20Pushed 8y agoCompare

[ Source](https://github.com/Aliance/Morton)[ Packagist](https://packagist.org/packages/aliance/morton)[ Docs](https://github.com/Aliance/Morton)[ RSS](/packages/aliance-morton/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Morton
======

[](#morton)

[![License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/45cf5a1dc2524c0777900d1487ed6c1fee48a5ddb51f545ebf2d0c2170ba3589/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c69616e63652f6d6f72746f6e2e737667)](https://packagist.org/packages/aliance/morton)

About
-----

[](#about)

Morton is a PHP implementation of Z-order curve.

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

[](#installation)

Install the latest version with composer:

```
$ composer require aliance/morton
```

Tests
-----

[](#tests)

For completely tests running just call `phpunit` command from `./vendor/bin`

```
Aliance/Morton $ ./vendor/bin/phpunit
PHPUnit 6.1.3 by Sebastian Bergmann and contributors.

...                                                                 3 / 3 (100%)

Time: 115 ms, Memory: 4.00MB

OK (3 tests, 3 assertions)

```

License
-------

[](#license)

This software is distributed under [MIT license](LICENSE).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3276d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b57839ecac7c4cf4918480b8f468c2444ca451ca583510df39b112789c41132?d=identicon)[Aliance](/maintainers/Aliance)

---

Top Contributors

[![Aliance](https://avatars.githubusercontent.com/u/7838144?v=4)](https://github.com/Aliance "Aliance (8 commits)")

---

Tags

bitsinterleavinglebesgue-curvemortonmorton-codemorton-orderz-orderbitbitsZ-order curveZ curveLebesgue curveMorton orderMorton codeBits interleavingMorton

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aliance-morton/health.svg)

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

###  Alternatives

[qandidate/toggle

Feature toggling for your PHP application.

3812.0M9](/packages/qandidate-toggle)[zumba/swivel

Strategy driven feature toggles

209135.7k5](/packages/zumba-swivel)[yaroslavche/bitmask

BitMask, EnumBitMask

3453.7k1](/packages/yaroslavche-bitmask)[chdemko/bitarray

BitArray for PHP &gt;= 8.2

1116.2k](/packages/chdemko-bitarray)

PHPackages © 2026

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