PHPackages                             hitaqnia/huwiya-laravel - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. hitaqnia/huwiya-laravel

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

hitaqnia/huwiya-laravel
=======================

A Laravel SDK for integrating with the Huwiya Identity Provider.

v1.0.0(1mo ago)060↓50%1MITPHPPHP ^8.3

Since Apr 20Pushed 1mo agoCompare

[ Source](https://github.com/hitaqnia/huwiya-laravel)[ Packagist](https://packagist.org/packages/hitaqnia/huwiya-laravel)[ Docs](https://github.com/hitaqnia/huwiya-laravel)[ RSS](/packages/hitaqnia-huwiya-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (8)Versions (3)Used By (1)

Huwiya SDK for Laravel
======================

[](#huwiya-sdk-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/52c275f88f6b205dd9ade0d58eacda144e98315605fdaa642e0de5bc2358b112/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68697461716e69612f6875776979612d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hitaqnia/huwiya-laravel)[![Total Downloads](https://camo.githubusercontent.com/c88e829e9dcf7283779e2bff489002f9fe20e4a3fa9501880792d74a0dc0a831/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68697461716e69612f6875776979612d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hitaqnia/huwiya-laravel)[![License](https://camo.githubusercontent.com/993630904590c41acdb91e9fb8c42ce3262b5f7bb672d1d780780af37a6db1ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f68697461716e69612f6875776979612d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

The official Laravel SDK for the [Huwiya](https://huwiya.id) Identity Provider. It integrates Huwiya-issued JWTs with Laravel's native guard system through two first-class drivers:

- **`huwiya-web`** — OAuth 2.0 Authorization Code flow for session-based web applications.
- **`huwiya-api`** — JWT Bearer authentication for stateless APIs.

Documentation
-------------

[](#documentation)

Full documentation lives in the [`docs/`](docs/00-index.md) directory.

- [01 · Getting started](docs/01-getting-started.md) — install, migrate, register a guard, start a login.
- [02 · Configuration](docs/02-configuration.md) — environment variables and config reference.
- [03 · Customization](docs/03-customization.md) — the policy hooks you override on your User model.
- [04 · Extensions](docs/04-extensions.md) — recipes for invitations, phone recycling, tenant scoping, role sync.
- [05 · Events](docs/05-events.md) — lifecycle events and listener examples.
- [06 · Errors](docs/06-errors.md) — the Result pattern, exceptions, and HTTP status codes.
- [07 · Security](docs/07-security.md) — security properties and defaults.
- [08 · Testing](docs/08-testing.md) — authenticating users in tests.

Contributing
------------

[](#contributing)

Bug reports, feature requests, and pull requests are welcome on [GitHub](https://github.com/hitaqnia/huwiya-laravel). Please run the test suite before submitting a pull request:

```
composer test
```

Security
--------

[](#security)

If you discover a security vulnerability, email **** rather than opening a public issue.

License
-------

[](#license)

Released under the [MIT License](LICENSE).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance90

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

50d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a71357d99589a129a83cc144fbde6250fce3f3d0fa3f442770ef79f47ed7d9b2?d=identicon)[mahdi-mk](/maintainers/mahdi-mk)

---

Top Contributors

[![mahdi-mk](https://avatars.githubusercontent.com/u/48333830?v=4)](https://github.com/mahdi-mk "mahdi-mk (20 commits)")

---

Tags

jwtlaravelAuthenticationidentityoauthhuwiya

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/hitaqnia-huwiya-laravel/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k50.9M364](/packages/tymon-jwt-auth)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76318.2M110](/packages/laravel-mcp)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M120](/packages/laravel-pulse)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

83910.6M60](/packages/php-open-source-saver-jwt-auth)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9732.3M121](/packages/roots-acorn)

PHPackages © 2026

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