PHPackages                             support/remote-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. [API Development](/categories/api)
4. /
5. support/remote-auth

ActiveLibrary[API Development](/categories/api)

support/remote-auth
===================

api authentication libarary

1.0(8y ago)2291[1 issues](https://github.com/ravipatel147/remote-auth/issues)PHPPHP &gt;=5.4.0

Since Apr 22Pushed 8y agoCompare

[ Source](https://github.com/ravipatel147/remote-auth)[ Packagist](https://packagist.org/packages/support/remote-auth)[ RSS](/packages/support-remote-auth/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

Remote Auth
===========

[](#remote-auth)

Remote auth is a library for laravel api authentication or remote auth user management in web application. Its a token base authentication system that provide many functionality like blocking user between date and get login date of each valid user without any database interaction. Remote auth validate token in two way normally valid check or two way auth check let see it below.

Getting Started
---------------

[](#getting-started)

The library is designed on the focus on easly setup by any one like stratup member or expert.

### Prerequisites

[](#prerequisites)

You need to composer package manager for instaiig this package and their dependancy.

### Installing

[](#installing)

Follow below step for instaiing package into laravel package

```
composer require support/remote-auth

```

Then add below line into provider array in `config/app.php` file

```
Support\RemoteAuth\JSRServiceProvider::class,

```

Then add into aliash array into `config/app.php` file.

```
'Remote' => Support\RemoteAuth\Facades\Remote::class,

```

And then publish package into laravel app.

```
php artisan vendor:publish

```

This command create `RemoteAuth.php` file in `config` folder. You can enable disable option of package using this file. i suggest to developer also run below command for avoid probleam in feature.

```
php artisan key:generate
php artisan config:cache

```

Then run following command for creating moddleware.

```
php artisan make:middleware RemoteAuth

```

And then past below code into file

```
