PHPackages                             hyungjune/reactauth - 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. hyungjune/reactauth

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

hyungjune/reactauth
===================

laravel + react api auth

037[8 PRs](https://github.com/ShinHyungJune/ReactAuth/pulls)PHP

Since Mar 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ShinHyungJune/ReactAuth)[ Packagist](https://packagist.org/packages/hyungjune/reactauth)[ RSS](/packages/hyungjune-reactauth/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (9)Used By (0)

ReactAuth
=========

[](#reactauth)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ef4e6754feac1673e884a5d2241ee796843ea03fa501b2ad4cfe40c715a04db4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6879756e676a756e652f7265616374617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hyungjune/reactauth)[![Total Downloads](https://camo.githubusercontent.com/2c370bd35009547b3512c93c3f5940b4b63805b27d5b55fa3a107d40a665e32f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6879756e676a756e652f7265616374617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hyungjune/reactauth)[![Build Status](https://camo.githubusercontent.com/0e8865fe286cac17e72b89c7885e32c3c06390353f4b3b21929c6c03269580a1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6879756e676a756e652f7265616374617574682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/hyungjune/reactauth)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require hyungjune/reactauth
$ php artisan preset reactAuth
$ npm install
```

Usage
-----

[](#usage)

1. config/auth.php의 api driver를 passport로 수정

```
'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'users',
        ],

        'api' => [
            'driver' => 'passport',
            'provider' => 'users',
            'hash' => false,
        ],
    ],
```

2. migrate

```
$ php artisan migrate
```

3. passport key generate

```
$ php artisan passport:install
```

4. .env 파일에 email 세팅

```
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=your's
MAIL_PASSWORD=your's
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=your's
MAIL_FROM_NAME="${APP_NAME}"
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [author name](https://github.com/hyungjune)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fff3cbbe1387c877be050f1e78625b3e2c822b047a6c5f68bafdee06021efbd8?d=identicon)[ShinHyungJune](/maintainers/ShinHyungJune)

---

Top Contributors

[![ShinHyungJune](https://avatars.githubusercontent.com/u/17549436?v=4)](https://github.com/ShinHyungJune "ShinHyungJune (20 commits)")

### Embed Badge

![Health badge](/badges/hyungjune-reactauth/health.svg)

```
[![Health](https://phpackages.com/badges/hyungjune-reactauth/health.svg)](https://phpackages.com/packages/hyungjune-reactauth)
```

###  Alternatives

[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)[illuminate/auth

The Illuminate Auth package.

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

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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