PHPackages                             maen/opensso - 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. maen/opensso

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

maen/opensso
============

0131PHP

Since Jun 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/maen-bn/opensso_laravel4)[ Packagist](https://packagist.org/packages/maen/opensso)[ RSS](/packages/maen-opensso/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

\##OpenSSO Authenication for Laravel 4

This is a provider for adding a OpenSSO driver to your authentication system in Laravel 4.1

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

[](#installation)

To install this package through composer, edit your project's `composer.json` file to require `maen/opensso`.

```
"require": {
	"laravel/framework": "4.1.*",
	"maen/opensso": "dev-master"
},
"minimum-stability" : "dev"

```

Next, update Composer from the terminal:

```
composer update

```

\##Configuration You will need to add a opensso configuartion file to `app/config/` called `opensso.php` and set out in the following way with the correct information for your OpenSSO installation

```
return array(
	"serverAddress" => "https://sso.mysite.com/",
	"uri" 			=> "myuri",
	"cookiepath"	=> "/",
	"cookiedomain"	=> ".mysite.com",
	"cookiename"	=> "mycookiename",
);
```

Also make sure in `auth/config/auth.php` the driver is set to `opensso`.

Finally add the OpenSSO servicer provider into `auth/config/app.php` as follows

```
'Maen\Opensso\OpenssoServiceProvider'

```

\##Usage Now your Auth driver is using OpenSSO you will be able to use the Laravel `Auth` class to authenication users.

\###Examples

```
//Authenicating using the OpenSSO TokenID from a cookie
Auth::attempt();

//Authenicating using user input
$input = Input::only('username', 'password');
Auth::attempt($input);

//Retriving the OpenSSO attributes of a logged in user
$user = Auth::user();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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/a9584c3343f91b023d5109fb84e2ad0406e1d79e48308337fc5797ab0c075bb5?d=identicon)[maen-bn](/maintainers/maen-bn)

---

Top Contributors

[![maen-bn](https://avatars.githubusercontent.com/u/8006284?v=4)](https://github.com/maen-bn "maen-bn (12 commits)")

### Embed Badge

![Health badge](/badges/maen-opensso/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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