PHPackages                             drawmyattention/expauth - 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. drawmyattention/expauth

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

drawmyattention/expauth
=======================

A Laravel 5 authentication driver that supports Expression Engine's membership system.. New users will default to Laravel's bcrypt encryption (extremely secure), but existing users who have registered using Expression Engine can also be authenticated. Also handles their reset password procedure.

1.2.2(9y ago)95.2k3[1 PRs](https://github.com/amochohan/expauth/pulls)MITPHPPHP &gt;=5.5.0

Since Feb 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/amochohan/expauth)[ Packagist](https://packagist.org/packages/drawmyattention/expauth)[ Docs](https://github.com/drawmyattention/expauth)[ RSS](/packages/drawmyattention-expauth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (14)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4ee7a627deed08eceb4634df932535698d56007b5828a40b2e3759f1083a4bb4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f647261776d79617474656e74696f6e2f657870617574682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/drawmyattention/expauth/?branch=master) [![Build Status](https://camo.githubusercontent.com/05b3359517d1619da54f53060d3f8a3bacdd044e3e442ea0f735457493d316c9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f647261776d79617474656e74696f6e2f657870617574682f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/drawmyattention/expauth/build-status/master) [![Code Coverage](https://camo.githubusercontent.com/d85f943ee0c83c3d7794808590fc9e593561da19cfed2ab8ceabd4c23b5bbc67/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f647261776d79617474656e74696f6e2f657870617574682f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/drawmyattention/expauth/?branch=master) [![Packagist](https://camo.githubusercontent.com/7b9795b7ef24ffb9dacaf9e204d217cf7e5b238c664b7e038c9da2eeb1617b0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647261776d79617474656e74696f6e2f657870617574682e737667)](https://packagist.org/packages/drawmyattention/expauth) [![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://www.opensource.org/licenses/MIT)

\#Laravel 5 Expression Engine User Authentication

Allows you to switch your Expression Engine website to Laravel, by handling the authentication of Expression Engine members. This package allows you to easily build a front end in Laravel for Expression Engine websites, without worrying about how existing members logins and registrations will work.

**For Laravel 5.2 support, please checkout the 5.2 branch.**

What it does
------------

[](#what-it-does)

Expression Engine uses a number of different hashing algorithms, such as SHA512, SHA256, SHA1 and even MD5 (*shudder*), whilst Laravel 5 uses the much more secure bcrypt.

This package will allow your existing Expression Engine members to log in with their existing login credentials, and new users can benefit from having their data hashed with the latest bcrypt algorithm.

Furthermore, once an Expression Engine user has logged in, it's very easy to switch them over to bcrypt encryption as the `needsRehash()` method will always return true for Expression Engine members.

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

[](#installation)

In your composer.json file, add:

```
    "require": {
       "drawmyattention/expauth": "1.1.*"
    }

```

Then, in config/app.php add

```
    'DrawMyAttention\ExpAuth\ExpressionEngineUserServiceProvider',
    'DrawMyAttention\ExpAuth\ExpressionEngineHasherServiceProvider',

```

and (optionally) comment out

```
    //'Illuminate\Hashing\HashServiceProvider',

```

In config/auth.php, change

```
    'driver' => 'eloquent',

```

to

```
    'driver' => 'ExpressionEngineAuth',

```

In your User model, make sure that you set the table and primary key fields as per the Expression Engine schema:

```
    protected $table = 'exp_members';
	protected $primaryKey = 'member_id';

```

and that's it!

Usage
-----

[](#usage)

Authentication works in exactly the same way as Laravel's regular auth methods.

Licence and credit
------------------

[](#licence-and-credit)

This package is open-sourced software licensed under the MIT license. Many thanks to the original package (pixelfusion/ExpAuth) upon which this was based, by PixelFusion.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~53 days

Recently: every ~100 days

Total

13

Last Release

3474d ago

Major Versions

1.2.2 → 5.2.x-dev2016-11-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a8a6d7576ffbce954cdfe28b99409f1575f9ebea23ece6e6bd0498e0d5d9159?d=identicon)[drawmyattention](/maintainers/drawmyattention)

---

Top Contributors

[![amochohan](https://avatars.githubusercontent.com/u/2978619?v=4)](https://github.com/amochohan "amochohan (53 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/drawmyattention-expauth/health.svg)

```
[![Health](https://phpackages.com/badges/drawmyattention-expauth/health.svg)](https://phpackages.com/packages/drawmyattention-expauth)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)

PHPackages © 2026

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