PHPackages                             natsimhan/robust-predicates - 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. natsimhan/robust-predicates

ActiveLibrary

natsimhan/robust-predicates
===========================

PHP port of RobustPredicates, a fast robust predicates for computational geometry.

v0.1.0(3y ago)059UnlicensePHPPHP &gt;=8.1

Since Mar 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/natsimhan/RobustPredicates)[ Packagist](https://packagist.org/packages/natsimhan/robust-predicates)[ RSS](/packages/natsimhan-robust-predicates/feed)WikiDiscussions master Synced 1mo ago

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

RobustPredicates
================

[](#robustpredicates)

PHP port of [RobustPredicates](https://github.com/mourner/robust-predicates), a fast robust predicates for computational geometry.

Provides reliable 2D and 3D point orientation tests (orient2d, orient3d, incircle, insphere) that are not susceptible to floating point errors (without sacrificing performance).

⚠️ Only orient2d is ported to PHP for the moment.

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

[](#installation)

The preferred method of installation is via [Composer](http://getcomposer.org/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require natsimhan/robust-predicates
```

Copyright and License
---------------------

[](#copyright-and-license)

This code was placed in the public domain by its original author, [Jonathan Richard Shewchuk](https://people.eecs.berkeley.edu/~jrs/). You may use it as you see fit, but attribution is appreciated. Please see [LICENSE](./LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

1153d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba9afb504870f51836d2605dd130a3f00f3323647ee8ca0b87672b45e8726483?d=identicon)[natsimhan](/maintainers/natsimhan)

---

Top Contributors

[![natsimhan](https://avatars.githubusercontent.com/u/5631475?v=4)](https://github.com/natsimhan "natsimhan (2 commits)")

---

Tags

geometrypredicatesorient2d

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/natsimhan-robust-predicates/health.svg)

```
[![Health](https://phpackages.com/badges/natsimhan-robust-predicates/health.svg)](https://phpackages.com/packages/natsimhan-robust-predicates)
```

###  Alternatives

[pragmarx/countries

PHP Countries and Currencies

1.9k3.3M18](/packages/pragmarx-countries)[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[creof/doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions

2763.3M11](/packages/creof-doctrine2-spatial)[jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

2191.6M1](/packages/jsor-doctrine-postgis)[geokit/geokit

Geo-Toolkit for PHP

251924.7k6](/packages/geokit-geokit)

PHPackages © 2026

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