PHPackages                             josue/spatial-hash-table - 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. josue/spatial-hash-table

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

josue/spatial-hash-table
========================

2D hash table for fast edges-touching-circle retrieval

v0.0.5(9y ago)120MITPHPPHP &gt;=7.0.15

Since Mar 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/j05u3/spatial-hash-table)[ Packagist](https://packagist.org/packages/josue/spatial-hash-table)[ Docs](https://github.com/j05u3/spatial-hash-table)[ RSS](/packages/josue-spatial-hash-table/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

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

[](#installation)

Using [Composer](https://getcomposer.org), just add it to your `composer.json` by running:

```
composer require josue/spatial-hash-table

```

Description
-----------

[](#description)

You can throw edges and points at it and than make fast proximity queries in a fixed radius (set in the constructor).

Usage
-----

[](#usage)

Example

[![Alt Test case graph](docs/sample.png?raw=true "Test case")](docs/sample.png?raw=true)

```
