PHPackages                             psalmsin/placestocoordinates - 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. psalmsin/placestocoordinates

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

psalmsin/placestocoordinates
============================

The Placestocoordinates Laravel package simplifies geolocation tasks by effortlessly obtaining latitude and longitude coordinates based on addresses. It provides a convenient way to perform address-to-coordinates conversions in Laravel applicat

131PHP

Since Sep 11Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Placestocoordinates Laravel Package
-----------------------------------

[](#placestocoordinates-laravel-package)

The PlacesToCoordinates Laravel package simplifies geolocation tasks by effortlessly obtaining latitude and longitude coordinates based on addresses. It provides a convenient way to perform places-to-coordinates conversions in Laravel applications.

### Features

[](#features)

- Obtain latitude and longitude coordinates from addresses with ease.
- Seamlessly integrate geolocation functionality into your Laravel projects.
- Simplify geocoding tasks for various use cases.

### Installation

[](#installation)

To get started with the PlacesToCoordinates Laravel package, follow these steps:

- Install the package via Composer:

```
composer require psalmsin1759/placestocoordinates
```

- Publish the package configuration:

```
php artisan vendor:publish --provider="Psalmsin1759\PlacesToCoordinates\CoordinatesServiceProvider"
```

- Configure your Google Maps API key: Open the .env file and set your Google Maps API key.

```
GEOCODING_API_KEY=
```

### Usage

[](#usage)

Once the package is installed and configured, you can use it to obtain coordinates from addresses:

```
use Psalmsin1759\Addresstocoordinates\Coordinates;

$address = "1600 Amphitheatre Parkway, Mountain View, CA";
$coordinates = Coordinates::getCoordinates($address);

// Access latitude and longitude
$latitude = $coordinates->latitude;
$longitude = $coordinates->longitude;

// Use latitude and longitude as needed
```

### Contributing

[](#contributing)

Contributions to this Laravel package are welcome! Please read our contribution guidelines for more details.

### License

[](#license)

The Placestocoordinates Laravel package is open-source software licensed under the MIT License.

### Support

[](#support)

If you encounter any issues or have questions, please feel free to create an issue on GitHub.

Feel free to customize the README further by adding sections like "Testing," "Changelog," "Credits," or any other relevant information about your package.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

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

---

Top Contributors

[![psalmsin1759](https://avatars.githubusercontent.com/u/4630657?v=4)](https://github.com/psalmsin1759 "psalmsin1759 (6 commits)")[![QNetixng](https://avatars.githubusercontent.com/u/61505188?v=4)](https://github.com/QNetixng "QNetixng (2 commits)")

### Embed Badge

![Health badge](/badges/psalmsin-placestocoordinates/health.svg)

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

###  Alternatives

[bitwasp/buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

65764.4k41](/packages/bitwasp-buffertools)[reefki/laravel-device-detector

Laravel wrapper for Matomo's Universal Device Detection library.

2852.6k](/packages/reefki-laravel-device-detector)

PHPackages © 2026

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