PHPackages                             amin3536/laravel-api-user-provider - 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. [API Development](/categories/api)
4. /
5. amin3536/laravel-api-user-provider

ActiveLibrary[API Development](/categories/api)

amin3536/laravel-api-user-provider
==================================

this package help you to provide your user from different service ( useful in micro service specially )

v1.0.9(3y ago)112.1k4[1 issues](https://github.com/amin3536/laravel-API-UserProvider/issues)[1 PRs](https://github.com/amin3536/laravel-API-UserProvider/pulls)MITPHP

Since Feb 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/amin3536/laravel-API-UserProvider)[ Packagist](https://packagist.org/packages/amin3536/laravel-api-user-provider)[ Docs](https://github.com/amin3536/laravel-api-user-provider)[ RSS](/packages/amin3536-laravel-api-user-provider/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (21)Used By (0)

LaravelApiUserProvider
======================

[](#laravelapiuserprovider)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5869a83f8aab968d69b6436893936672a0653ab99d6fa8f7fd8f264b8466d3f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d696e333533362f6c61726176656c2d6170692d757365722d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amin3536/laravel-api-user-provider)[![Total Downloads](https://camo.githubusercontent.com/aa61cac74477e5886ff21e00ea7200d4ac85a5c43a6571c3ad7a67639974aaa0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d696e333533362f6c61726176656c2d6170692d757365722d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amin3536/laravel-api-user-provider)[![tests workflow](https://github.com/amin3536/laravel-API-UserProvider/actions/workflows/laravel.yml/badge.svg)](https://github.com/amin3536/laravel-API-UserProvider/actions/workflows/laravel.yml/badge.svg)[![StyleCI](https://camo.githubusercontent.com/ae314ea685c753b69bf75f28305bb203bd4d572689725880c22abff975fa89cc/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3333393939393732352f736869656c64)](https://styleci.io/repos/12345678)

this pack help you to provide your user from different service ( useful in micro service )

### how this package work

[](#how-this-package--work)

this package use bearer token in header's request and provide user from Sec Service (Auth service)

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

[](#installation)

Via Composer

```
$ composer require amin3536/laravel-api-user-provider
```

Usage
-----

[](#usage)

simple usage this driver : change your `auth.php ` in `config` like below

```
