PHPackages                             nadar/swiss-coordinates - 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. nadar/swiss-coordinates

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

nadar/swiss-coordinates
=======================

Converting swiss coordinates to Lat/Long global coordinates.

1.0.0(9y ago)1662MITPHP

Since May 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nadar/swiss-coordinates)[ Packagist](https://packagist.org/packages/nadar/swiss-coordinates)[ Docs](https://github.com/nadar/swiss-coordinates)[ RSS](/packages/nadar-swiss-coordinates/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Convert WGS (Word Geodetic System) coordinates into CH (Swiss-Coordinates) and vice versa.
==========================================================================================

[](#convert-wgs-word-geodetic-system-coordinates-into-ch-swiss-coordinates-and-vice-versa)

Wrapper class with composer support based on

### Informations about coordinates:

[](#informations-about-coordinates)

- Lat/Long = Latitude And Longitude
- WGS = Word Geodetic System
- Lat = Y-Axis
- Long = X-Axis

### Example swiss coordinates:

[](#example-swiss-coordinates)

- Rigi: Y = 679520, X = 212273
- Zürich-Seebach: Y = 684592, X = 252857

### Installation

[](#installation)

```
composer require nadar/swiss-coordinates

```

### Usage example:

[](#usage-example)

```
use swisscoordinates\Converter;

echo Converter::CHtoWGSlat(679520, 212273); // 47.056709
echo Converter::CHtoWGSlong(679520, 212273); // 8.485306
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3632d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86184bf08843ed8fcc4aedb2fdecd8a9e832e47e89a7166cebfda529c176f5ce?d=identicon)[nadar](/maintainers/nadar)

---

Top Contributors

[![nadar](https://avatars.githubusercontent.com/u/3417221?v=4)](https://github.com/nadar "nadar (7 commits)")

---

Tags

coordinatesgeodeticschweizwgsphplonglatswissgeocords

### Embed Badge

![Health badge](/badges/nadar-swiss-coordinates/health.svg)

```
[![Health](https://phpackages.com/badges/nadar-swiss-coordinates/health.svg)](https://phpackages.com/packages/nadar-swiss-coordinates)
```

###  Alternatives

[ballen/distical

A distance (Lat/Long) calculation library for PHP

40180.2k2](/packages/ballen-distical)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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