PHPackages                             joy/voyager-api-auth - 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. joy/voyager-api-auth

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

joy/voyager-api-auth
====================

This Laravel/Voyager module adds REST Api Auth to Voyager.

v3.2.39(2y ago)89.5k[6 PRs](https://github.com/rxcod9/joy-voyager-api-auth/pulls)1MITPHPPHP ^7.3|^8.0|^9.0CI failing

Since Jun 26Pushed 2mo agoCompare

[ Source](https://github.com/rxcod9/joy-voyager-api-auth)[ Packagist](https://packagist.org/packages/joy/voyager-api-auth)[ Docs](https://github.com/rxcod9/joy-voyager-api-auth)[ Patreon](https://www.patreon.com/ramakant)[ RSS](/packages/joy-voyager-api-auth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (42)Used By (1)

Joy VoyagerApiAuth
==================

[](#joy-voyagerapiauth)

This [Laravel](https://laravel.com/)/[Voyager](https://voyager.devdojo.com/) module adds REST Api Auth to Voyager.

By 🐼 [Ramakant Gangwar](https://github.com/rxcod9).

[![Latest Version](https://camo.githubusercontent.com/925fe2b68d0d3c9354fc4155e0266fb02be334e09d33c9d45c5e9c108ced334e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7278636f64392f6a6f792d766f79616765722d6170692d617574683f7374796c653d666c61742d737175617265)](https://github.com/rxcod9/joy-voyager-api-auth/releases)[![GitHub Workflow Status](https://camo.githubusercontent.com/6dc42cbc76d69dd6370a74b7a49450cba973e5a6641ddc73aebcb59953941e41/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7278636f64392f6a6f792d766f79616765722d6170692d617574682f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://camo.githubusercontent.com/6dc42cbc76d69dd6370a74b7a49450cba973e5a6641ddc73aebcb59953941e41/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7278636f64392f6a6f792d766f79616765722d6170692d617574682f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)[![Total Downloads](https://camo.githubusercontent.com/479d4380cb4575c4342d6ddef42719c3bb22c06fa0f535c882ad1fccefcb2ac1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f792f766f79616765722d6170692d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/joy/voyager-api-auth)

---

Prerequisites
-------------

[](#prerequisites)

- Composer Installed
- [Install Laravel](https://laravel.com/docs/installation)
- [Install Voyager](https://github.com/the-control-group/voyager)
- [Install Passport](https://laravel.com/docs/8.x/passport)

---

Installation
------------

[](#installation)

```
# 1. Require this Package in your fresh Laravel/Voyager project
composer require joy/voyager-api-auth

# 2. Publish
php artisan vendor:publish --provider="Joy\VoyagerApiAuth\VoyagerApiAuthServiceProvider" --force

# 3. Test Api with CURL
curl -s 'http://localhost/api/login' -H 'Accept: application/json' -H 'Content-Type: application/json' --data-raw $'{\n  "email": "admin@admin.com",\n  "password": "password",\n  "remember_me": false\n}'
```

---

Working Example
---------------

[](#working-example)

You can try laravel demo here .

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

[](#documentation)

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy voyager-api-auth? Feel free to [create an issue on GitHub](https://github.com/rxcod9/joy-voyager-api-auth/issues), we'll try to address it as soon as possible.

If you've found a bug regarding security please mail  instead of using the issue tracker.

Testing
-------

[](#testing)

You can run the tests with:

```
vendor/bin/phpunit
```

Upgrading
---------

[](#upgrading)

Please see [UPGRADING](UPGRADING.md) for details.

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ramakant Gangwar](https://github.com/rxcod9)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance58

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 77.5% 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 ~31 days

Recently: every ~0 days

Total

32

Last Release

815d ago

Major Versions

v1.2.35 → v2.2.352024-02-23

v2.2.35 → v3.2.352024-02-23

PHP version history (2 changes)v1.0.0PHP ^7.3|^8.0

v1.2.19PHP ^7.3|^8.0|^9.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a00608fbd641680d1bbc969c8e820f4fbc1b72f2080fcbdb18c8c552857e2b?d=identicon)[rxcod9](/maintainers/rxcod9)

---

Top Contributors

[![rxcod9](https://avatars.githubusercontent.com/u/14928642?v=4)](https://github.com/rxcod9 "rxcod9 (69 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (18 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (2 commits)")

---

Tags

apiauthjoyjoy-voyager-api-authlaravelpassportphprest-apivoyagervoyager-api-authvoyager-passportapilaravelswaggercmsswagger-uivoyagerjoyvoyager-api-authjoy-voyager-api-auth

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/joy-voyager-api-auth/health.svg)

```
[![Health](https://phpackages.com/badges/joy-voyager-api-auth/health.svg)](https://phpackages.com/packages/joy-voyager-api-auth)
```

###  Alternatives

[joy/voyager-api

This Laravel/Voyager module adds REST Api with swagger support to Voyager.

204.7k3](/packages/joy-voyager-api)[joy/voyager-datatable

joy voyager datatable

1538.1k43](/packages/joy-voyager-datatable)

PHPackages © 2026

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