PHPackages                             iqionly/mansion-client - 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. iqionly/mansion-client

ActiveLibrary

iqionly/mansion-client
======================

Package to handle SSO

1.2.2(1y ago)118[1 issues](https://github.com/iqionly/mansion-client/issues)MITPHPPHP ^7.2|^8.0|^8.1

Since Aug 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iqionly/mansion-client)[ Packagist](https://packagist.org/packages/iqionly/mansion-client)[ RSS](/packages/iqionly-mansion-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (7)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e383a52f98050badf039a4915ce6ed25214194a25c42d7219ded3afd71d2fbfd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6971696f6e6c792f6d616e73696f6e2d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iqionly/mansion-client)[![Total Downloads](https://camo.githubusercontent.com/3c934771715af060f43c5a4c60a9598ac146d57d8d094b1a282108823980499d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6971696f6e6c792f6d616e73696f6e2d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iqionly/mansion-client)

Mansion Client
==============

[](#mansion-client)

Package to handle sso simple login Mansion Website for Laravel Application.

How to use
==========

[](#how-to-use)

Create New Client Mansion
-------------------------

[](#create-new-client-mansion)

If you done this jump to Installing section. To use this packages, you will need to register your app to mansion server, for package `mansion-client` works properly.

Todo so, you have to:

- Open your mansion server (regarding to Mansion your use)
- Go to Management Application Menu
- Click button Add Data
- Fill up the field name and URL App for your application
- Then enter your URL Login for your app. for `mansion-client` this the example: `https://yourapp.example/mansion/login-sso`, (change uri to your domain app)
- Also enter your URL Redirect for your app. for `mansion-client` this the example: `https://yourapp.example/mansion/callback`, (change uri to your domain app)
- After that fill up all required field
- Then click button Save Changes
- Save the id and secret key, paste to your environment app
- Enjoy the coffee

Installing
----------

[](#installing)

First install the packages:

```
composer require iqionly/mansion-client

```

After that, copy your client id and secret key from your Mansion Server &gt; Management Application to your .env. Example:

```
MANSION_URL=http://mansion.example  # your mansion url
MANSION_CLIENT_ID=12345xxxxxxxx
MANSION_CLIENT_SECRET=abcdefxxx

# Skip if your server have loopback ip
MANSION_URL_LOCAL=http://mansion.local  # add other url, if mansion server is same ip with your app client.

```

If you using other `Users` table with different column name and key, please tell `mansion-client` how to consume it, with just adding another environment variables:

```
MANSION_USERNAME="(YOUR COLUMN/KEY USERS)"
MANSION_PASSWORD="(YOUR PASSWORD FOR USERS)"

```

`mansion-client` also using config providers users to authenticate the sign-in user, if you not change, it works fine :)

This package require, middleware `web`. So if you change it, please configure the middleware in mansion config also.

You can change the config mansion by execute this command:

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

```

Contacts
--------

[](#contacts)

Any help, contacts me to:  or

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~105 days

Recently: every ~131 days

Total

6

Last Release

456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06679e029ca3fe8d0e96e148b9cc1085cbae0c3bf2242ace625672126f8a0a5e?d=identicon)[iqionly](/maintainers/iqionly)

---

Top Contributors

[![iqionly](https://avatars.githubusercontent.com/u/36873896?v=4)](https://github.com/iqionly "iqionly (11 commits)")

### Embed Badge

![Health badge](/badges/iqionly-mansion-client/health.svg)

```
[![Health](https://phpackages.com/badges/iqionly-mansion-client/health.svg)](https://phpackages.com/packages/iqionly-mansion-client)
```

###  Alternatives

[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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