PHPackages                             fakeheal/opauth-laravel - 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. fakeheal/opauth-laravel

AbandonedArchivedLibrary

fakeheal/opauth-laravel
=======================

Package for using Opauth with Laravel

36124[1 issues](https://github.com/fakeheal/opauth-laravel/issues)PHP

Since May 10Pushed 10y ago2 watchersCompare

[ Source](https://github.com/fakeheal/opauth-laravel)[ Packagist](https://packagist.org/packages/fakeheal/opauth-laravel)[ RSS](/packages/fakeheal-opauth-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Opauth For Laravel 4.x
======================

[](#opauth-for-laravel-4x)

**Version 1.0 - Release Date: 10.05.2016**

**This is based on Opauth - **

Authorize users with your application implementing multiple Oauth2 providers.

Currently Supported
-------------------

[](#currently-supported)

- [All available strategies](https://github.com/opauth/opauth/wiki/List-of-strategies)

**I've only tested it with Facebook. This does not mean that it won't work for other Oauth2 providers. Refer to  for help on implementing it.**

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

[](#installation)

Run: `composer require fakeheal/opauth-laravel ~dev-laravel-4`

Or add this to your `composer.json`:

`"fakeheal/opauth-laravel": "dev-laravel-4",`

Usage Example
-------------

[](#usage-example)

Install a strategy using composer:

`composer require opauth/facebook` or `composer require opauth/twitter`

*Refer to the link that lists all available strategies and how to install them*

Add this to your `app.php` array of providers:

`'Fakeheal\OpauthLaravel\OpauthLaravelServiceProvider'`

Publish the config file and add your strategies:

`php artisan config:publish fakeheal/opauth-laravel`

Config options:

```
return [
    'Strategy' => array(
        'Facebook' => array(
            'app_id' => 'APP_ID',
            'app_secret' => 'APP_SECRET'
        )
    ),
    'security_salt' => 'RANDOM SOME HASH!',
    'callback_transport' => 'post',
    'path' => '/opauth/social/' //This must match the route for app('opauth')->run();
];
```

Add this to your `routes.php`:

```
Route::get('/', function () {
    echo 'Login with facebook';
});

Route::any('opauth/social/{strategy}/{action?}', function () {
    app('opauth')->run();
});
```

Open:

\##DO NOT FORGET TO CHANGE YOUR APP\_ID &amp; APP\_SECRET

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

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/f925a697449ab18af5a1d0b8aa406703b229ccc70bfd6e8216486fbba8ecee29?d=identicon)[fakeheal](/maintainers/fakeheal)

---

Top Contributors

[![fakeheal](https://avatars.githubusercontent.com/u/1038697?v=4)](https://github.com/fakeheal "fakeheal (18 commits)")

### Embed Badge

![Health badge](/badges/fakeheal-opauth-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/fakeheal-opauth-laravel/health.svg)](https://phpackages.com/packages/fakeheal-opauth-laravel)
```

PHPackages © 2026

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