Download the PHP package iqionly/mansion-client without Composer
On this page you can find all versions of the php package iqionly/mansion-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package mansion-client
Mansion Client
Package to handle sso simple login Mansion Website for Laravel Application.
How to use
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
First install the packages:
After that, copy your client id and secret key from your Mansion Server > Management Application to your .env. Example:
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-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:
Contacts
Any help, contacts me to: [email protected] or [email protected]
All versions of mansion-client with dependencies
laravel/framework Version ^7.0|^7.2.5|^8.0
guzzlehttp/guzzle Version ^7.8