PHPackages                             tien-enjoywork/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. tien-enjoywork/api-auth

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

tien-enjoywork/api-auth
=======================

Api authentication Laravel + Passport

v1.0(6y ago)115mitPHPPHP &gt;=7.1.3

Since Oct 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tien-enjoywork/api-auth)[ Packagist](https://packagist.org/packages/tien-enjoywork/api-auth)[ RSS](/packages/tien-enjoywork-api-auth/feed)WikiDiscussions master Synced 3d ago

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

API authentication with Laravel and Passport
============================================

[](#api-authentication-with-laravel-and-passport)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a3bf52de4ca3ffaaa83f516826b51e22a0c0a3d493a43f71b86330f9191e8890/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7469656e2d656e6a6f79776f726b2f6170692d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tien-enjoywork/api-auth)[![Build Status](https://camo.githubusercontent.com/59911b9cda4e78eda98675f3b25e3210e61c9194fac5cf6e8845a06e6c02bd45/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7469656e2d656e6a6f79776f726b2f6170692d617574682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tien-enjoywork/api-auth)[![Quality Score](https://camo.githubusercontent.com/04b10842263085870f0580120e844673b96c7490cd937f6c20c35ef49b8531a5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7469656e2d656e6a6f79776f726b2f6170692d617574682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tien-enjoywork/api-auth)[![Total Downloads](https://camo.githubusercontent.com/1d89614eeb24e102c69654552212106ebff6c0c1d0026e0d748eedba64a16947/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7469656e2d656e6a6f79776f726b2f6170692d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tien-enjoywork/api-auth)

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

[](#installation)

You can install the package via composer:

```
composer require tien-enjoywork/api-auth
```

Usage
-----

[](#usage)

First of all, you have to already set up laravel with [passport](https://laravel.com/docs/6.x/passport#installation) authentication.

```
php artisan enjoywork_auth_package:install
```

Edit **app/enjoywork\_auth.php** to change configuration. Remember run `php artisan config:cache` after edit this file.

Document
--------

[](#document)

Please see [DOCUMENT](DOCUMENT.md) for more information about request parameters and respone

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)

- [Tien Pham](https://github.com/tien-enjoywork)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2416d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bf8cf7b176a9f6de0853cceb8e420da05fd29bda4207fe19e0e1116fa6fa548?d=identicon)[tien-enjoywork](/maintainers/tien-enjoywork)

---

Top Contributors

[![tien-enjoywork](https://avatars.githubusercontent.com/u/56056014?v=4)](https://github.com/tien-enjoywork "tien-enjoywork (5 commits)")

### Embed Badge

![Health badge](/badges/tien-enjoywork-api-auth/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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