PHPackages                             looxis/gate-connector - 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. looxis/gate-connector

ActiveLibrary

looxis/gate-connector
=====================

v3.0.0(2y ago)0350[5 PRs](https://github.com/looxis/gate-connector/pulls)MITPHP

Since Feb 7Pushed 2y ago3 watchersCompare

[ Source](https://github.com/looxis/gate-connector)[ Packagist](https://packagist.org/packages/looxis/gate-connector)[ Docs](https://github.com/looxis/gate-connector)[ RSS](/packages/looxis-gate-connector/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (5)Versions (14)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/387ee4347efc6882c20f4cb0c7036fa156271ecd85d79c6c33fb4d2b5f2dc979/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6f7869732f676174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/looxis/gate)[![Build Status](https://camo.githubusercontent.com/7e2440978d413598a959756e296a7ef98e505fe823d683170731885a89113d0e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c6f6f7869732f676174652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/looxis/gate)[![Quality Score](https://camo.githubusercontent.com/fc730993f3038fb1201ebfde7d2540edfdf0c69080bc1ae3f3d982bd1574c2bd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c6f6f7869732f676174652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/looxis/gate)[![Total Downloads](https://camo.githubusercontent.com/38b5bfc37445a7bd9d89c84d966029e81e9a51a8e8a947216529daca2c78c4d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6f7869732f676174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/looxis/gate)

Gate Connector helps you to connect your oauth client to connect to your oauth server of choice via socialite. Your default Login automatically redirects to the oauth server.

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

[](#installation)

You can install the package via composer:

```
composer require looxis/gate
```

Usage
-----

[](#usage)

Add some properties to your `.env` file (see .env.example)

```
GATE_ENABLED=true
GATE_URL="https://gate.example.com/"
GATE_CLIENT_ID=3
GATE_CLIENT_SECRET=client_secret
```

Publish and Run migration

```
php artisan vendor:publish --tag=gate-migrations
php artisan migrate
```

Add `gate_id` and `api_token` to fillable array in User model.

Also you can change auth callback route and controller in config or in `.env` file

```
GATE_AUTH_CALLBACK_URI="auth/callback"
GATE_AUTH_CALLBACK_CONTROLLER="App\\Http\\Controllers\\Auth\\LoginController"
```

Change `use AuthenticatesUsers` statement in `App\Http\Controllers\Auth\LoginController` or any other login controller you want to use with Looxis Gate.

```
use AuthenticatesUsers, LoginControllerTrait {
        LoginControllerTrait::loggedOut insteadof AuthenticatesUsers;
        LoginControllerTrait::showLoginForm insteadof AuthenticatesUsers;
    }
```

`loggedOut` should be called from `logout` method of this controller (if you override it).

Also you can publish the config file with this artisan command:

```
php artisan vendor:publish --tag=gate-config
```

### Testing

[](#testing)

```
composer test
```

### 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)

- [Igor Tsapiro](https://github.com/looxis)
- [Mike Cholovskiy](https://github.com/meachel)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~366 days

Total

5

Last Release

817d ago

Major Versions

v1.0.1 → 2.0.02020-10-09

2.1.0 → v3.0.02024-02-12

### Community

Maintainers

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

---

Top Contributors

[![MannikJ](https://avatars.githubusercontent.com/u/1841856?v=4)](https://github.com/MannikJ "MannikJ (4 commits)")[![krizzdev](https://avatars.githubusercontent.com/u/5312693?v=4)](https://github.com/krizzdev "krizzdev (3 commits)")[![meachel](https://avatars.githubusercontent.com/u/21168304?v=4)](https://github.com/meachel "meachel (2 commits)")

---

Tags

looxisgate-connector

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/looxis-gate-connector/health.svg)

```
[![Health](https://phpackages.com/badges/looxis-gate-connector/health.svg)](https://phpackages.com/packages/looxis-gate-connector)
```

###  Alternatives

[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k5](/packages/api-platform-laravel)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)

PHPackages © 2026

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