PHPackages                             itssonu/lat-long - 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. itssonu/lat-long

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

itssonu/lat-long
================

get lat long by address

v0.0.5(4y ago)018MITPHP

Since Nov 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/itssonu/lat-long)[ Packagist](https://packagist.org/packages/itssonu/lat-long)[ RSS](/packages/itssonu-lat-long/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

Lat-Long
========

[](#lat-long)

[![Issues](https://camo.githubusercontent.com/bf9448337787da648cc64f70f2be0bbfb36a0704ddfcf927bc0c453f6d5f3354/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f697473736f6e752f6c61742d6c6f6e672e7376673f7374796c653d666c61742d737175617265)](https://github.com/itssonu/lat-long/issues)[![Stars](https://camo.githubusercontent.com/418b531b1282fa92ff0b02ff7217ed15a386816dcebbb40e4f864658679aa0b7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f697473736f6e752f6c61742d6c6f6e672e7376673f7374796c653d666c61742d737175617265)](https://github.com/itssonu/lat-long/stargazers)

Get lat long from address
-------------------------

[](#get-lat-long-from-address)

```
composer require itssonu/lat-long
```

Get lat long
============

[](#get-lat-long)

Use Pakage
----------

[](#use-pakage)

```
use itssonu\LatLong;
```

Initialization
--------------

[](#initialization)

```
$latLong = new LatLong;
```

Get Address
-----------

[](#get-address)

you can get dynamic address from get or post requests , here we use static address

```
$address = "clock tower ludhiana punjab";
```

Get lat long method
-------------------

[](#get-lat-long-method)

```
$result = $latLong->getLatLong($address);
$lat = $result->lat;
$long = $result->long;
```

Get lat only
------------

[](#get-lat-only)

```
$lat = $latLong->getLat($address);
```

Get long only
-------------

[](#get-long-only)

```
$long = $latLong->getLong($address);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

Every ~0 days

Total

4

Last Release

1682d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/59788324?v=4)[itssonu](/maintainers/itssonu)[@itssonu](https://github.com/itssonu)

---

Top Contributors

[![itssonu](https://avatars.githubusercontent.com/u/59788324?v=4)](https://github.com/itssonu "itssonu (12 commits)")

### Embed Badge

![Health badge](/badges/itssonu-lat-long/health.svg)

```
[![Health](https://phpackages.com/badges/itssonu-lat-long/health.svg)](https://phpackages.com/packages/itssonu-lat-long)
```

###  Alternatives

[jasny/bootstrap

The missing bootstrap components

2.7k75.2k1](/packages/jasny-bootstrap)

PHPackages © 2026

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