PHPackages                             jenny05322/passport-guard - 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. jenny05322/passport-guard

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

jenny05322/passport-guard
=========================

v1.0(7y ago)07PHP

Since Mar 26Pushed 7y agoCompare

[ Source](https://github.com/jenny05322/passport-guard)[ Packagist](https://packagist.org/packages/jenny05322/passport-guard)[ RSS](/packages/jenny05322-passport-guard/feed)WikiDiscussions master Synced yesterday

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

Passport Guard
==============

[](#passport-guard)

This package separate the resource server from the passport. It doesn't need to install passport package.

Install
-------

[](#install)

Install by composer package manager.

```
composer require jenny05322/passport-guard

```

Next, register service provider in `config/app.php`.

```
Jenny05322\PassportGuard\App\Providers\ServiceProvider::class,

```

Add `HasApiTokens` trait to `User` model.

```
