PHPackages                             miniorange/saml-laravel-free - 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. miniorange/saml-laravel-free

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

miniorange/saml-laravel-free
============================

miniOrange SAML Single Sign on (SSO) plugin acts as a SAML Service Provider which can be configured to establish the trust between the plugin and a SAML capable Identity Providers to securely authenticate the user to the Laravel site. We support all known IdPs – ADFS, Azure AD, Google Apps, Okta, Salesforce, Shibboleth, SimpleSAMLphp, OpenAM, Centrify, Ping, RSA, IBM, Oracle, OneLogin, Bitium, WSO2, NetIQ etc.

2.3.4(2y ago)158.4k9[3 issues](https://github.com/miniOrangeDev/saml-laravel-free/issues)BSD-3-ClauseCSSPHP ^5.1 || ^7.1 || ^8.0

Since Jun 28Pushed 2y ago2 watchersCompare

[ Source](https://github.com/miniOrangeDev/saml-laravel-free)[ Packagist](https://packagist.org/packages/miniorange/saml-laravel-free)[ RSS](/packages/miniorange-saml-laravel-free/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (1)Versions (11)Used By (0)

What is Single Sign-On (SSO)?
=============================

[](#what-is-single-sign-on-sso)

**Single Sign-On** is an authorization and authentication process that enables an user to connect to multiple enterprise applications using a single set of credentials. Simply put, SSO combines multiple application login pages into just one, allowing you to submit credentials just once and gain access to all the applications without having to log in to each one individually. End users save time and effort by not having to sign into and out of a variety of on-premises, web and cloud applications on a regular basis.

SSO or single sign-on is a critical component of the Identity and Access Management or access privileges services. SSO solution perfectly implemented within an enterprise simplifies overall password management, improving productivity and security, lowering the likelihood of weak, lost, or forgotten passwords

Laravel SAML SSO
================

[](#laravel-saml-sso)

Laravel package for SAML Single Sign On (SSO). The package acts as a SAML Service Provider (SP). SAML Single Sign On (SSO) for Laravel allows users sign in to Laravel webapp with your SAML 2.0 compatible Identity Provider. We support all known IdPs - Google Apps, ADFS, Okta, miniOrange, OneLogin, Azure AD, Salesforce, Shibboleth, SimpleSAMLphp, OpenAM, Centrify, Ping, RSA, IBM, Oracle, Bitium, WSO2, NetIQ etc. SAML Laravel application acts as a SAML 2.0 Service Provider (SP) and securely authenticate users with your SAML 2.0 Identity Provider.

Requirements
------------

[](#requirements)

- Laravel - 5.0+
- PHP - ^5.1 || ^7.1 || ^8.0

Installation - Composer
-----------------------

[](#installation---composer)

1. Install the package via composer in your Laravel app's main directory.

```
composer require miniorange/saml-laravel-free

```

> Note: If you are using Laravel 5.4 or below, you will need to add the following value to the **'providers'** array in your **app.php** file which can be found in the **project\\config** folder.
>
> ```
> 'providers' => [
>    ...
>    provider\ssoServiceProvider::class,
>    ...
> ]
>
> ```

2. After successful installation of package, go to your Laravel app in the browser and enter

    ***{laravel-application-domain}/mo\_admin***
3. The package will start setting up your database for you and then redirect you to the admin registration page where you can register or login with miniOrange and setup your Identity Provider.

    [![This is plugin login page](https://camo.githubusercontent.com/ae56646c267fdc4788d194ab975052dba80946c874d76eaf430c62bea7409ebf/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032302f31312f706c7567696e2d73657474696e67732e77656270)](https://camo.githubusercontent.com/ae56646c267fdc4788d194ab975052dba80946c874d76eaf430c62bea7409ebf/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032302f31312f706c7567696e2d73657474696e67732e77656270)

Configuring the package
-----------------------

[](#configuring-the-package)

1. You can configure the SP Base URL or leave this option as it is. Also, you need to provide these SP Entity ID and ACS URL values while configuring your Identity Provider. [![This is plugin login page](https://camo.githubusercontent.com/614cf533ad41873de32f7cb13f952d71e50b51418d1a009d301104f3a1536548/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f6d6175616c2d73702d6d657461646174612e77656270)](https://camo.githubusercontent.com/614cf533ad41873de32f7cb13f952d71e50b51418d1a009d301104f3a1536548/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f6d6175616c2d73702d6d657461646174612e77656270)
2. Use your Identity Provider details to configure the plugin as by uploading IDP metadata file/XML provided by your Identity Provider or entering the details manually.

    [![This is plugin setting page](https://camo.githubusercontent.com/138a3b4704199d504789b4f7510f7f49af97ff5ada0cb8e87b00013b3d80cf30/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f646f776e6c6f61642d7468652d73702d6d657461646174612e77656270)](https://camo.githubusercontent.com/138a3b4704199d504789b4f7510f7f49af97ff5ada0cb8e87b00013b3d80cf30/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f646f776e6c6f61642d7468652d73702d6d657461646174612e77656270)

    Or

    [![This is plugin setting page](https://camo.githubusercontent.com/c43439d0dcf4dda3a3867f65ed88d52c87539af685e468ab06a93a90f1922708/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f6d616e75616c6c792d6164642d6964702d64657461696c732e77656270)](https://camo.githubusercontent.com/c43439d0dcf4dda3a3867f65ed88d52c87539af685e468ab06a93a90f1922708/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f6d616e75616c6c792d6164642d6964702d64657461696c732e77656270)
3. Click on Save button.

Test Configuration
------------------

[](#test-configuration)

1. You can test if the package is configured properly or not by clicking on the Test Configuration button. You should see a Test Successful screen as shown below along with the user's attribute values. [![This is plugin setting page](https://camo.githubusercontent.com/ec6c1379e25ef42c15daee283cd8ff6541997781249495ea41c987b9e81bb334/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f746573742d636f6e66692e77656270)](https://camo.githubusercontent.com/ec6c1379e25ef42c15daee283cd8ff6541997781249495ea41c987b9e81bb334/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f31312f746573742d636f6e66692e77656270)

    [![This is plugin test configuration page](https://camo.githubusercontent.com/2ebeaafd5f5f6a8b02f4a51a70290099e565fd548345969b1be60b60fa587e30/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032302f31312f6c61726176656c2d73736f2d746573742d726573756c742e77656270)](https://camo.githubusercontent.com/2ebeaafd5f5f6a8b02f4a51a70290099e565fd548345969b1be60b60fa587e30/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032302f31312f6c61726176656c2d73736f2d746573742d726573756c742e77656270)

Adding Single Sign On button on the application login page (Optional)
---------------------------------------------------------------------

[](#adding-single-sign-on-button-on-the-application-login-page-optional)

Once the package is installed, you can add a **Single Sign On** button in your application login page using these commands in order:

1. Install the Laravel UI Package.

```
composer require laravel/ui

```

2. Generate Auth Routes using VueJs

```
php artisan ui vue --auth

```

3. Install Node modules and run the development

```
npm install && npm run dev

```

4. Migrate and update the database

```
php artisan migrate

```

The Laravel application login page should look something like this then.

[![This is laravel login page](https://camo.githubusercontent.com/1ecaea8e2ad775a28c1f3164fb39e33dc59d39b85aea3f7d080e41cad77c3b10/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032302f31312f6c61726176656c2d73736f2d627574746f6e2e77656270)](https://camo.githubusercontent.com/1ecaea8e2ad775a28c1f3164fb39e33dc59d39b85aea3f7d080e41cad77c3b10/68747470733a2f2f706c7567696e732e6d696e696f72616e67652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032302f31312f6c61726176656c2d73736f2d627574746f6e2e77656270)

Features
========

[](#features)

The features provided in the free and premium are listed here.

Free PlanPremium PlanSimple and easy-to-use admin UISimple and easy-to-use admin UISSO upto 10 usersSSO for unlimited usersUnlimited AuthenticationsUnlimited AuthenticationsAuto-create users in LaravelAuto-create users in LaravelSSO button on Login pageSSO button on Login pageRelay State URLRelay state URLConfigurable SP Base URLConfigurable SP Base URLCustom Attribute mappingSigned and Encrypted Request SupportSigned and Encrypted Assertion and Response SupportConfigurable SAML request binding typeProtect Complete Site and Auto-RedirectFeature Description
===================

[](#feature-description)

- **Custom Attribute Mapping**

    It allows you to map the received custom attributes sent by your Identity Provider (IdP) to the Service Provider *(Laravel Application)*.
- **Auto-create users in Laravel**

    Creates the users from the IdP to SP (Laravel Application) when SSO is done.
- **Signed and Encrypted Assertion and Response Support**

    To verify the authenticity of the source of SAML Assertion and Response thereby improving the security.
- **Protect Complete Site and Auto-Redirect**

    Asking user to login via SSO if the user session does not exist everytime the site is accessed.

Single Sign On (SSO)
====================

[](#single-sign-on-sso)

The Single Sign On can be initiated using ***{laravel-application-domain}/sso.php*** or the Single Sign On button (if added using the commands above) on the login page of the Laravel application.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~98 days

Recently: every ~71 days

Total

10

Last Release

948d ago

Major Versions

1.5 → 2.02022-07-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eeed4a6762c4cd395b5c508453e5fd5682064406836182fecfc917c211283b3?d=identicon)[miniorange](/maintainers/miniorange)

---

Top Contributors

[![miniOrangeDev](https://avatars.githubusercontent.com/u/12458201?v=4)](https://github.com/miniOrangeDev "miniOrangeDev (20 commits)")[![vidushigupta0607](https://avatars.githubusercontent.com/u/110659586?v=4)](https://github.com/vidushigupta0607 "vidushigupta0607 (9 commits)")[![mo-nikhilesh](https://avatars.githubusercontent.com/u/61040987?v=4)](https://github.com/mo-nikhilesh "mo-nikhilesh (2 commits)")[![ttjordan81](https://avatars.githubusercontent.com/u/1315951?v=4)](https://github.com/ttjordan81 "ttjordan81 (1 commits)")

---

Tags

laravelsamlsingle-sign-onsso

### Embed Badge

![Health badge](/badges/miniorange-saml-laravel-free/health.svg)

```
[![Health](https://phpackages.com/badges/miniorange-saml-laravel-free/health.svg)](https://phpackages.com/packages/miniorange-saml-laravel-free)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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