PHPackages                             adnane/laravel-qibla - 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. adnane/laravel-qibla

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

adnane/laravel-qibla
====================

A laravel Package to get qibla directionns

1.0.0(5y ago)267MITPHP

Since Apr 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/adnane-ka/laravel-qibla)[ Packagist](https://packagist.org/packages/adnane/laravel-qibla)[ RSS](/packages/adnane-laravel-qibla/feed)WikiDiscussions main Synced 3w ago

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

Laravel-Qibla
=============

[](#laravel-qibla)

- a laravel package to get the Qiblaa direction based on given cords or user location

installation
============

[](#installation)

- via composer :

```
composer require adnane/laravel-qibla

```

- the package's service provider will be auto-loaded as you can add it in `config\app.php` in the providers array

```
'providers' => [
    ..
    'Adnane\Qibla\QiblaServiceProvider',
],
```

Usage
=====

[](#usage)

```
use Adnane\Qibla\Qibla;

// get Qibla direction based on user location
echo Qibla::getDirection();

// As you can specify a longitude & latitude to calculate the Qibla direction from
echo Qibla::getDirection($longitude , $latitude);
```

Usage in blade files
====================

[](#usage-in-blade-files)

```
Hey User .. The kibla direction is about @qibla() ° North

```

how to interpretate the results
===============================

[](#how-to-interpretate-the-results)

- as mentioned ,Results are angles returned in degree scale : ex (108.2323° north) , so this can be easy to be handled using a degree compass or a front-end simple logic to achieve that.

[![image](https://camo.githubusercontent.com/38067c6cf94df897b74ba4ac129d8526e57786af1834064f35e44cda19fcce03/68747470733a2f2f7777772e706e67617265612e636f6d2f706e67732f332f353031323634345f636f6d706173732d706e672d626f78696e672d7468652d636f6d706173732d776974682d6465677265652d706e672e706e67)](https://camo.githubusercontent.com/38067c6cf94df897b74ba4ac129d8526e57786af1834064f35e44cda19fcce03/68747470733a2f2f7777772e706e67617265612e636f6d2f706e67732f332f353031323634345f636f6d706173732d706e672d626f78696e672d7468652d636f6d706173732d776974682d6465677265652d706e672e706e67)

See also
========

[](#see-also)

[Laravel Speaks Arabic](https://github.com/adnane-ka/laravel-speaks-arabic)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1902d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32fd3105946c7423fd448a5030df5993ae5ceca855de748881f30d5a17928cb3?d=identicon)[adnanekadri](/maintainers/adnanekadri)

---

Top Contributors

[![adnane-ka](https://avatars.githubusercontent.com/u/74255401?v=4)](https://github.com/adnane-ka "adnane-ka (5 commits)")

### Embed Badge

![Health badge](/badges/adnane-laravel-qibla/health.svg)

```
[![Health](https://phpackages.com/badges/adnane-laravel-qibla/health.svg)](https://phpackages.com/packages/adnane-laravel-qibla)
```

###  Alternatives

[softnweb/laravel-coming-soon

Simple Comming Soon page

201.2k](/packages/softnweb-laravel-coming-soon)

PHPackages © 2026

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