PHPackages                             vancuren/php-turf - 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. vancuren/php-turf

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

vancuren/php-turf
=================

A PHP library for geospatial analysis similar to Turf.js

v1.0.4(1y ago)23441AGPL-3.0-or-laterPHPPHP ^7.1 || ^8.0

Since Jun 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vancuren/php-turf)[ Packagist](https://packagist.org/packages/vancuren/php-turf)[ RSS](/packages/vancuren-php-turf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

PHP Turf
========

[](#php-turf)

PHP Turf is a PHP library for geospatial analysis similar to Turf.js.

- [Installation](#installation)
- [Example](#example)
- [Usage](#usage)
- [Contributing](#contributing)

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

[](#installation)

You can install PHP Turf via Composer. Run the following command in your terminal:

```
composer require vancuren/php-turf
```

Example
-------

[](#example)

Here's a basic example demonstrating how to use PHP Turf to perform geospatial analysis:

```
